*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.19 2000-05-08 23:11:02 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.20 2000-05-13 13:14:41 assar Exp $ (LBL)";
#endif
#include <sys/param.h>
p = (pcap_t *)malloc(sizeof(*p));
if (p == NULL) {
- snprintf(ebuf, PCAP_ERRBUF_SIZE, PCAP_ERRBUF_SIZE,
+ snprintf(ebuf, PCAP_ERRBUF_SIZE,
"malloc: %s", pcap_strerror(errno));
return (NULL);
}