git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dpif-linux: Fix file descriptor leak.
[sliver-openvswitch.git]
/
lib
/
pcap.c
diff --git
a/lib/pcap.c
b/lib/pcap.c
index
4330c57
..
967bb5c
100644
(file)
--- a/
lib/pcap.c
+++ b/
lib/pcap.c
@@
-128,7
+128,7
@@
pcap_read(FILE *file, struct ofpbuf **bufp)
((len & 0x0000ff00) << 8) |
((len & 0x000000ff) << 24));
if (swapped_len > 0xffff) {
- VLOG_WARN("bad packet length %
"PRIu32"
or %"PRIu32" "
+ VLOG_WARN("bad packet length %
zu
or %"PRIu32" "
"reading pcap file",
len, swapped_len);
return EPROTO;