summaryrefslogtreecommitdiffstats
path: root/bin/systrace/filter.c
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2002-08-08 21:18:20 +0000
committerprovos <provos@openbsd.org>2002-08-08 21:18:20 +0000
commit4ee9f7df38834f513238a7bd04440df8c02efc99 (patch)
treeef9c0312b5492da449f95169d630c5a2aeff1e56 /bin/systrace/filter.c
parentregen. (diff)
downloadwireguard-openbsd-4ee9f7df38834f513238a7bd04440df8c02efc99.tar.xz
wireguard-openbsd-4ee9f7df38834f513238a7bd04440df8c02efc99.zip
no \n in err
Diffstat (limited to 'bin/systrace/filter.c')
-rw-r--r--bin/systrace/filter.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/systrace/filter.c b/bin/systrace/filter.c
index c53be301193..5760feb0090 100644
--- a/bin/systrace/filter.c
+++ b/bin/systrace/filter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: filter.c,v 1.15 2002/07/19 14:38:57 itojun Exp $ */
+/* $OpenBSD: filter.c,v 1.16 2002/08/08 21:18:20 provos Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -352,8 +352,7 @@ filter_ask(struct intercept_tlq *tls, struct filterq *fls,
*pflags = 0;
if ((policy = systrace_findpolnr(policynr)) == NULL)
- errx(1, "%s:%d: no policy %d\n", __func__, __LINE__,
- policynr);
+ errx(1, "%s:%d: no policy %d", __func__, __LINE__, policynr);
if (!allow)
printf("%s\n", output);