From f17d7bd838a678b6ca1db63c15c567508836cfcf Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Fri, 2 Oct 2009 16:59:28 -0700 Subject: [PATCH] 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. --- lib/dpif-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2