2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00

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.
This commit is contained in:
Justin Pettit
2009-10-02 16:59:28 -07:00
parent 57aaff8a99
commit f17d7bd838

View 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 {