projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f77c88
)
dpif-linux: Fix invalid format specifier.
author
Ethan Jackson
<ethan@nicira.com>
Wed, 6 Jun 2012 01:02:30 +0000
(18:02 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Wed, 6 Jun 2012 18:29:33 +0000
(11:29 -0700)
This fixes the following warning on my system. "format '%d' expects
argument of type 'int', but argument 5 has type 'long int'"
Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/dpif-linux.c
patch
|
blob
|
history
diff --git
a/lib/dpif-linux.c
b/lib/dpif-linux.c
index b571441f587e90c44b7961c445c63243f6049dc9..62f69174406812db7e40810b555052825dab1102 100644
(file)
--- a/
lib/dpif-linux.c
+++ b/
lib/dpif-linux.c
@@
-1981,7
+1981,7
@@
report_loss(struct dpif *dpif_, struct dpif_channel *ch)
}
ds_chomp(&s, ',');
- VLOG_ERR("%s: lost packet on channel %d%s",
+ VLOG_ERR("%s: lost packet on channel %
t
d%s",
dpif_name(dpif_), ch - dpif->channels, ds_cstr(&s));
ds_destroy(&s);
}