mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
netdev: Fix typo in error message.
Found by inspection. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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;
|
error = class->set_mtu ? class->set_mtu(netdev, mtu) : EOPNOTSUPP;
|
||||||
if (error && error != 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));
|
netdev_get_name(netdev), strerror(error));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user