summaryrefslogtreecommitdiff
path: root/bin/systrace
diff options
context:
space:
mode:
authorJason Peel <jsyn@cvs.openbsd.org>2002-06-11 05:21:18 +0000
committerJason Peel <jsyn@cvs.openbsd.org>2002-06-11 05:21:18 +0000
commit6a33d9f46f50ebd813f150d538addbafd3f6b477 (patch)
treec9f626f237c503c0dac455bb1cd569ecf7c96c61 /bin/systrace
parent1e2f04221a9d882778b52af36730c25df2ef549b (diff)
kill err(3) newlines; ok provos@
Diffstat (limited to 'bin/systrace')
-rw-r--r--bin/systrace/systrace.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/systrace/systrace.c b/bin/systrace/systrace.c
index 8673ef52cf2..42cfacf7be5 100644
--- a/bin/systrace/systrace.c
+++ b/bin/systrace/systrace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: systrace.c,v 1.14 2002/06/10 19:16:26 provos Exp $ */
+/* $OpenBSD: systrace.c,v 1.15 2002/06/11 05:21:17 jsyn Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -75,11 +75,11 @@ trans_cb(int fd, pid_t pid, int policynr,
goto out;
if ((policy = systrace_findpolnr(policynr)) == NULL)
- errx(1, "%s:%d: find %d\n", __func__, __LINE__,
+ errx(1, "%s:%d: find %d", __func__, __LINE__,
policynr);
if ((pflq = systrace_policyflq(policy, emulation, name)) == NULL)
- errx(1, "%s:%d: no filter queue\n", __func__, __LINE__);
+ errx(1, "%s:%d: no filter queue", __func__, __LINE__);
ipid = intercept_getpid(pid);
ipid->uflags = 0;
@@ -140,7 +140,7 @@ gen_cb(int fd, pid_t pid, int policynr, char *name, int code,
goto out;
if ((policy = systrace_findpolnr(policynr)) == NULL)
- errx(1, "%s:%d: find %d\n", __func__, __LINE__,
+ errx(1, "%s:%d: find %d", __func__, __LINE__,
policynr);
ipid = intercept_getpid(pid);