summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblambert <blambert@openbsd.org>2013-09-13 08:49:17 +0000
committerblambert <blambert@openbsd.org>2013-09-13 08:49:17 +0000
commitc1394c17267bc3878cef179d033e50354e55aaa3 (patch)
tree1aed60111ac926527639de0219ec087d11510959
parentInitialize the variable guarding the clock interrupt routine after (diff)
downloadwireguard-openbsd-c1394c17267bc3878cef179d033e50354e55aaa3.tar.xz
wireguard-openbsd-c1394c17267bc3878cef179d033e50354e55aaa3.zip
errx() provides its own newline, so remove it from the string here
ok henning@
-rw-r--r--sbin/pflogd/privsep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pflogd/privsep.c b/sbin/pflogd/privsep.c
index f45fde82929..4ca9f100927 100644
--- a/sbin/pflogd/privsep.c
+++ b/sbin/pflogd/privsep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.c,v 1.17 2009/12/24 10:06:35 sobrado Exp $ */
+/* $OpenBSD: privsep.c,v 1.18 2013/09/13 08:49:17 blambert Exp $ */
/*
* Copyright (c) 2003 Can Erkin Acar
@@ -273,7 +273,7 @@ priv_move_log(void)
int cmd, ret;
if (priv_fd < 0)
- errx(1, "%s: called from privileged portion\n", __func__);
+ errx(1, "%s: called from privileged portion", __func__);
cmd = PRIV_MOVE_LOG;
must_write(priv_fd, &cmd, sizeof(int));