-/* $OpenBSD: tty.c,v 1.9 2015/10/09 01:37:09 deraadt Exp $ */
+/* $OpenBSD: tty.c,v 1.10 2015/10/12 19:56:47 naddy Exp $ */
/* $NetBSD: tty.c,v 1.4 1994/12/07 00:46:57 jtc Exp $ */
/*
int ch, sflag;
char *t;
- if (pledge("stdio rpath tty", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1)
err(1, "pledge");
sflag = 0;
-/* $OpenBSD: who.c,v 1.25 2015/10/11 23:29:56 deraadt Exp $ */
+/* $OpenBSD: who.c,v 1.26 2015/10/12 19:56:47 naddy Exp $ */
/* $NetBSD: who.c,v 1.4 1994/12/07 04:28:49 jtc Exp $ */
/*
setlocale(LC_ALL, "");
- if (pledge("stdio rpath getpw tty", NULL) == -1)
+ if (pledge("stdio rpath getpw", NULL) == -1)
err(1, "pledge");
if (mytty = ttyname(0)) {