diff options
author | Ben Pfaff <blp@nicira.com> | 2009-11-06 10:43:50 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2009-11-09 10:30:10 -0800 |
commit | 2886875a385df582354ac916431b278f2fe698e0 (patch) | |
tree | 7ba5e3d899fab2d271c2a4cfaeda3d98cfd44573 /lib/pcap.c | |
parent | cc56746aed6d53046b17b01756362e566734241c (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |