aboutsummaryrefslogtreecommitdiff
path: root/lib/pcap.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-11-06 10:43:50 -0800
committerBen Pfaff <blp@nicira.com>2009-11-09 10:30:10 -0800
commit2886875a385df582354ac916431b278f2fe698e0 (patch)
tree7ba5e3d899fab2d271c2a4cfaeda3d98cfd44573 /lib/pcap.c
parentcc56746aed6d53046b17b01756362e566734241c (diff)
Fix incorrect printf format specifiers.
GCC reported these during a 64-bit build.
Diffstat (limited to 'lib/pcap.c')
-rw-r--r--lib/pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pcap.c b/lib/pcap.c
index 4330c575..967bb5c3 100644
--- 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;