]> The Tcpdump Group git mirrors - libpcap/commitdiff
From Paolo Abeni: fix a printf.
authorguy <guy>
Sun, 14 Jan 2007 21:33:55 +0000 (21:33 +0000)
committerguy <guy>
Sun, 14 Jan 2007 21:33:55 +0000 (21:33 +0000)
pcap-bt-linux.c

index 924835b6bb8f8ce9554da3e2cd39f91214b1cc6c..7bb0f7d03092a40992a2113c40d2eef635a41d71 100644 (file)
@@ -263,7 +263,7 @@ bt_read_linux(pcap_t *handle, int max_packets, pcap_handler callback, u_char *us
                
        if (pkth.caplen < 0) {
                snprintf(handle->errbuf, PCAP_ERRBUF_SIZE, "Can't receive packet %d:%s",
-                       handle->md.ifindex, errno, strerror(errno));
+                       errno, strerror(errno));
                return -1;
        }