netdev: Fix reversed arguments in netdev_recv warning.
authorJustin Pettit <jpettit@nicira.com>
Mon, 31 Aug 2009 06:51:41 +0000 (23:51 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 1 Sep 2009 21:48:33 +0000 (14:48 -0700)
lib/netdev.c

index 6644f7e..a43a3ca 100644 (file)
@@ -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 {