From: Justin Pettit Date: Mon, 31 Aug 2009 06:51:41 +0000 (-0700) Subject: netdev: Fix reversed arguments in netdev_recv warning. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f329488c50ac3ee0594a4a732ec31f866b5c79d;p=openvswitch netdev: Fix reversed arguments in netdev_recv warning. --- diff --git a/lib/netdev.c b/lib/netdev.c index 6644f7e8..a43a3caf 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -572,7 +572,7 @@ netdev_recv(struct netdev *netdev, struct ofpbuf *buffer) if (n_bytes < 0) { if (errno != EAGAIN) { VLOG_WARN_RL(&rl, "error receiving Ethernet packet on %s: %s", - strerror(errno), netdev->name); + netdev->name, strerror(errno)); } return errno; } else {