summaryrefslogtreecommitdiff
path: root/usr.bin/mesg
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mesg')
-rw-r--r--usr.bin/mesg/mesg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mesg/mesg.c b/usr.bin/mesg/mesg.c
index 925aa470ce1..1d1265e4bd1 100644
--- a/usr.bin/mesg/mesg.c
+++ b/usr.bin/mesg/mesg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mesg.c,v 1.10 2015/10/12 20:03:24 deraadt Exp $ */
+/* $OpenBSD: mesg.c,v 1.11 2016/01/25 21:59:36 gsoares Exp $ */
/* $NetBSD: mesg.c,v 1.4 1994/12/23 07:16:32 jtc Exp $ */
/*
@@ -53,7 +53,7 @@ main(int argc, char *argv[])
int ch;
if (pledge("stdio rpath fattr", NULL) == -1)
- err(1, "pledge");
+ err(2, "pledge");
while ((ch = getopt(argc, argv, "")) != -1)
switch (ch) {