summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/privsep_pcap.c
diff options
context:
space:
mode:
authorMoritz Jodeit <moritz@cvs.openbsd.org>2005-03-30 22:18:17 +0000
committerMoritz Jodeit <moritz@cvs.openbsd.org>2005-03-30 22:18:17 +0000
commit0cfbabe55ba30755f8f5b9e6c13ee7831d8ddab7 (patch)
tree13d0a7ece99ee1994b2422e5756ca47d46f13993 /usr.sbin/tcpdump/privsep_pcap.c
parent02316e626f8087e2cd65632d94ea32f64e75a3f2 (diff)
remove trailing \n in errx().
ok deraadt@
Diffstat (limited to 'usr.sbin/tcpdump/privsep_pcap.c')
-rw-r--r--usr.sbin/tcpdump/privsep_pcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/privsep_pcap.c b/usr.sbin/tcpdump/privsep_pcap.c
index d826d548e99..459556d9279 100644
--- a/usr.sbin/tcpdump/privsep_pcap.c
+++ b/usr.sbin/tcpdump/privsep_pcap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep_pcap.c,v 1.7 2005/03/06 18:44:50 reyk Exp $ */
+/* $OpenBSD: privsep_pcap.c,v 1.8 2005/03/30 22:18:16 moritz Exp $ */
/*
* Copyright (c) 2004 Can Erkin Acar
@@ -486,7 +486,7 @@ priv_pcap_dump_open(pcap_t *p, char *fname)
FILE *f;
if (priv_fd < 0)
- errx(1, "%s: called from privileged portion\n", __func__);
+ errx(1, "%s: called from privileged portion", __func__);
if (fname[0] == '-' && fname[1] == '\0') {
f = stdout;