projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57aaff8
)
dpif-linux: Clarify bad device warning message
author
Justin Pettit
<jpettit@nicira.com>
Fri, 2 Oct 2009 23:59:28 +0000
(16:59 -0700)
committer
Justin 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
patch
|
blob
|
history
diff --git
a/lib/dpif-linux.c
b/lib/dpif-linux.c
index e6b46d4c6c50d6e0a9f2e3827ea2768ff4054a10..8216d18709933294c4f17b87ffed80402ad5b6fc 100644
(file)
--- 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 {