diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-12 20:03:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-12 20:03:25 +0000 |
commit | 8a51b7165004de1c449b17fe7305a7e74dbd4170 (patch) | |
tree | aef5d94974812d2fe31aad3fbe0802e5e38b9c83 /usr.bin/mesg | |
parent | d03246054c89cb277ab8b751ed583986ebd4c8c8 (diff) |
these callers of ttyname() no longer need to pledge "tty"
Diffstat (limited to 'usr.bin/mesg')
-rw-r--r-- | usr.bin/mesg/mesg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mesg/mesg.c b/usr.bin/mesg/mesg.c index fa16831736a..925aa470ce1 100644 --- a/usr.bin/mesg/mesg.c +++ b/usr.bin/mesg/mesg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mesg.c,v 1.9 2015/10/12 06:00:57 deraadt Exp $ */ +/* $OpenBSD: mesg.c,v 1.10 2015/10/12 20:03:24 deraadt Exp $ */ /* $NetBSD: mesg.c,v 1.4 1994/12/23 07:16:32 jtc Exp $ */ /* @@ -52,7 +52,7 @@ main(int argc, char *argv[]) char *tty; int ch; - if (pledge("stdio rpath fattr tty", NULL) == -1) + if (pledge("stdio rpath fattr", NULL) == -1) err(1, "pledge"); while ((ch = getopt(argc, argv, "")) != -1) |