[ovs-dev] [tests 21/22] netdev-linux: Improve log message.

Ben Pfaff blp at nicira.com
Fri Oct 26 00:02:17 UTC 2012


Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/netdev-linux.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c
index 412a92d..6e2570f 100644
--- a/lib/netdev-linux.c
+++ b/lib/netdev-linux.c
@@ -1365,8 +1365,8 @@ netdev_linux_sys_get_stats(const struct netdev *netdev_,
     }
 
     if (error) {
-        VLOG_WARN_RL(&rl, "%s: linux-sys get stats failed %d",
-                      netdev_get_name(netdev_), error);
+        VLOG_WARN_RL(&rl, "%s: obtaining system netdev stats failed (%s)",
+                     netdev_get_name(netdev_), strerror(error));
     }
     return error;
 
-- 
1.7.2.5




More information about the dev mailing list