dpif-linux: Clarify bad device warning message
authorJustin Pettit <jpettit@nicira.com>
Fri, 2 Oct 2009 23:59:28 +0000 (16:59 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 2 Oct 2009 23:59:28 +0000 (16:59 -0700)
The message warning that the device number is wrong for the Open vSwitch
devices could have been clearer.

Thanks to Ben Pfaff for the suggested wording.

lib/dpif-linux.c

index e6b46d4..8216d18 100644 (file)
@@ -569,7 +569,7 @@ make_openvswitch_device(int minor, char **fnp)
                          fn);
         } else if (s.st_rdev != dev) {
             VLOG_WARN_RL(&error_rl,
-                         "%s is device %u:%u instead of %u:%u, fixing",
+                         "%s is device %u:%u but should be %u:%u, fixing",
                          fn, major(s.st_rdev), minor(s.st_rdev),
                          major(dev), minor(dev));
         } else {