artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23bc116
)
actually s/unveil/pledge on err(3), I missed it on previous commit.
author
mestre
<mestre@openbsd.org>
Sat, 11 Aug 2018 11:04:26 +0000
(11:04 +0000)
committer
mestre
<mestre@openbsd.org>
Sat, 11 Aug 2018 11:04:26 +0000
(11:04 +0000)
usr.bin/mesg/mesg.c
patch
|
blob
|
history
diff --git
a/usr.bin/mesg/mesg.c
b/usr.bin/mesg/mesg.c
index
1de4aa7
..
f5db6a0
100644
(file)
--- a/
usr.bin/mesg/mesg.c
+++ b/
usr.bin/mesg/mesg.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mesg.c,v 1.1
4 2018/08/11 10:58:39
mestre Exp $ */
+/* $OpenBSD: mesg.c,v 1.1
5 2018/08/11 11:04:26
mestre Exp $ */
/* $NetBSD: mesg.c,v 1.4 1994/12/23 07:16:32 jtc Exp $ */
/*
@@
-67,7
+67,7
@@
main(int argc, char *argv[])
if (unveil(tty, "rw") == -1)
err(2, "unveil");
if (pledge("stdio rpath fattr", NULL) == -1)
- err(2, "
unveil
");
+ err(2, "
pledge
");
if (stat(tty, &sb) < 0)
err(2, "%s", tty);