netdev: Fix typo in error message.
authorBen Pfaff <blp@nicira.com>
Fri, 2 Mar 2012 22:18:21 +0000 (14:18 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 2 Mar 2012 22:55:21 +0000 (14:55 -0800)
Found by inspection.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/netdev.c

index e77fcdf..e55ab79 100644 (file)
@@ -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));
     }