summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/machdep.c
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1998-09-15 19:36:32 +0000
committerfenner <fenner@FreeBSD.org>1998-09-15 19:36:32 +0000
commit577b5b88b39bedc51620403e37d7e98cceb75351 (patch)
tree0337896435e9b66ef64657e2d16795d6742ade2e /contrib/tcpdump/machdep.c
parentbb4a1148ba09f0189b5e65fcea051398897f2e65 (diff)
parentcfc42b58f229425374e675f86614cf26ffa356e4 (diff)
downloadFreeBSD-src-577b5b88b39bedc51620403e37d7e98cceb75351.zip
FreeBSD-src-577b5b88b39bedc51620403e37d7e98cceb75351.tar.gz
This commit was generated by cvs2svn to compensate for changes in r39297,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcpdump/machdep.c')
-rw-r--r--contrib/tcpdump/machdep.c8
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
OpenPOWER on IntegriCloud