X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fpcap.c;h=967bb5c34b8cf9ceb77afd60be504457c6dbe43e;hb=5e4641a147c3e450a56b199b9066f1af75c2f779;hp=4330c575dc8f9b4d207f9e87042edfcf47c6a0bd;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=openvswitch 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;