summaryrefslogtreecommitdiff
path: root/bin/ps
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-11 03:20:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-11 03:20:03 +0000
commitd853ec59235291d9d9f1fcbecf962bd8d57fbfc8 (patch)
treed3f72b2ac611e18fed805e3e07c6b47a1c0271e9 /bin/ps
parentb8771cbd23252cfa6d956bfbf07ec48731d4aa37 (diff)
fix pledge error message
Diffstat (limited to 'bin/ps')
-rw-r--r--bin/ps/ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c
index 2e1fc723e0c..93e46d783d1 100644
--- a/bin/ps/ps.c
+++ b/bin/ps/ps.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ps.c,v 1.67 2015/10/25 09:39:00 deraadt Exp $ */
+/* $OpenBSD: ps.c,v 1.68 2015/11/11 03:20:02 deraadt Exp $ */
/* $NetBSD: ps.c,v 1.15 1995/05/18 20:33:25 mycroft Exp $ */
/*-
@@ -279,7 +279,7 @@ main(int argc, char *argv[])
errx(1, "%s", errbuf);
if (pledge("stdio rpath getpw ps", NULL) == -1)
- err(1, "abort pledge");
+ err(1, "pledge");
if (!fmt) {
if (showthreads)