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