aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-03-02 14:18:21 -0800
committerBen Pfaff <blp@nicira.com>2012-03-02 14:55:14 -0800
commit974fbebaa566b729e9eca4ff958e3352930b0080 (patch)
treebab519a3127a3215417669faa18377ab8f505914 /lib
parentc521d98befd333f25913b06eebc4947575cc5915 (diff)
netdev: Fix typo in error message.
Found by inspection. Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/netdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netdev.c b/lib/netdev.c
index eff6e4cb..64dfda52 100644
--- a/lib/netdev.c
+++ b/lib/netdev.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -537,7 +537,7 @@ netdev_set_mtu(const struct netdev *netdev, int mtu)
error = class->set_mtu ? class->set_mtu(netdev, mtu) : EOPNOTSUPP;
if (error && error != EOPNOTSUPP) {
- VLOG_WARN_RL(&rl, "failed to retrieve MTU for network device %s: %s",
+ VLOG_WARN_RL(&rl, "failed to set MTU for network device %s: %s",
netdev_get_name(netdev), strerror(error));
}