diff options
Diffstat (limited to 'contrib/tcpdump/machdep.c')
-rw-r--r-- | contrib/tcpdump/machdep.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/tcpdump/machdep.c b/contrib/tcpdump/machdep.c index 11a7d99..7dd443a 100644 --- a/contrib/tcpdump/machdep.c +++ b/contrib/tcpdump/machdep.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996 + * Copyright (c) 1996, 1997 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: machdep.c,v 1.3 96/12/10 23:24:28 leres Exp $ (LBL)"; + "@(#) $Header: machdep.c,v 1.4 97/09/30 15:03:53 leres Exp $ (LBL)"; #endif #include <sys/types.h> @@ -30,8 +30,6 @@ static const char rcsid[] = #include <sys/proc.h> #endif -#include <pcap.h> - #include "machdep.h" int @@ -41,7 +39,7 @@ abort_on_misalignment(char *ebuf) static int buf[2] = { SSIN_UACPROC, UAC_SIGBUS }; if (setsysinfo(SSI_NVPAIRS, (caddr_t)buf, 1, 0, 0) < 0) { - (void)sprintf(ebuf, "setsysinfo: %s", pcap_strerror(errno)); + (void)sprintf(ebuf, "setsysinfo: errno %d", errno); return (-1); } #endif |