From: Justin Pettit Date: Fri, 2 Oct 2009 23:59:28 +0000 (-0700) Subject: dpif-linux: Clarify bad device warning message X-Git-Tag: v0.99.0~63 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=f17d7bd838a678b6ca1db63c15c567508836cfcf;p=sliver-openvswitch.git 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 e6b46d4c6..8216d1870 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 {