From: Justin Pettit Date: Fri, 2 Oct 2009 23:59:28 +0000 (-0700) Subject: dpif-linux: Clarify bad device warning message X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f17d7bd838a678b6ca1db63c15c567508836cfcf;p=openvswitch dpif-linux: Clarify bad device warning message 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. --- diff --git a/lib/dpif-linux.c b/lib/dpif-linux.c index e6b46d4c..8216d187 100644 --- a/lib/dpif-linux.c +++ b/lib/dpif-linux.c @@ -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 {