diff options
Diffstat (limited to 'usr.bin/tty')
-rw-r--r-- | usr.bin/tty/tty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c index 14beca8e931..ae4bc17b9a0 100644 --- a/usr.bin/tty/tty.c +++ b/usr.bin/tty/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.13 2022/12/04 23:50:50 cheloha Exp $ */ +/* $OpenBSD: tty.c,v 1.14 2024/05/06 16:49:46 cheloha Exp $ */ /* $NetBSD: tty.c,v 1.4 1994/12/07 00:46:57 jtc Exp $ */ /* @@ -57,9 +57,9 @@ main(int argc, char *argv[]) } if (unveil(_PATH_DEVDB, "r") == -1) - err(1, "unveil %s", _PATH_DEVDB); + err(2, "unveil %s", _PATH_DEVDB); if (pledge("stdio rpath", NULL) == -1) - err(1, "pledge"); + err(2, "pledge"); t = ttyname(STDIN_FILENO); if (!sflag) |