summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/privsep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/privsep.c b/usr.sbin/tcpdump/privsep.c
index 1223e83e4a3..af49ac517ce 100644
--- a/usr.sbin/tcpdump/privsep.c
+++ b/usr.sbin/tcpdump/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.6 2004/04/03 10:20:51 avsm Exp $ */
+/* $OpenBSD: privsep.c,v 1.7 2004/04/08 12:24:07 avsm Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
@@ -334,7 +334,7 @@ parent_open_output(int fd, const char *WFileName)
must_write(fd, &err, sizeof(int));
if (file < 0)
logmsg(LOG_DEBUG, "[priv]: failed to open %s: %s",
- WFileName, strerror(errno));
+ WFileName, strerror(err));
else
close(file);
}