From: Ben Pfaff Date: Fri, 2 Mar 2012 22:18:21 +0000 (-0800) Subject: netdev: Fix typo in error message. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e34f3d06d2f912a15d7303c9186a79cd64c4447;p=openvswitch netdev: Fix typo in error message. Found by inspection. Signed-off-by: Ben Pfaff --- 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)); }