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 6644f7e82a5426f3e17102130dc2a7634744ff72..a43a3cafde35eda26a803317fabdf4979c51b000 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 {