Date: Mon, 11 Jan 2010 15:43:26 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 172967 for review Message-ID: <201001111543.o0BFhQKW079524@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=172967 Change 172967 by rwatson@rwatson_vimage_client on 2010/01/11 15:43:05 Prefer tcpdump's own error() routine to err(). Affected files ... .. //depot/projects/trustedbsd/capabilities/src/contrib/tcpdump/tcpdump.c#5 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/contrib/tcpdump/tcpdump.c#5 (text+ko) ==== @@ -1199,7 +1199,7 @@ } #endif /* WIN32 */ if (cap_enter() < 0) - err(-1, "cap_enter"); + error("cap_enter: %s", pcap_strerror(errno)); status = pcap_loop(pd, cnt, callback, pcap_userdata); if (WFileName == NULL) { /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001111543.o0BFhQKW079524>