diff options
-rw-r--r-- | usr.bin/uname/uname.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/uname/uname.c b/usr.bin/uname/uname.c index 15e7f907308..85ac7dc1186 100644 --- a/usr.bin/uname/uname.c +++ b/usr.bin/uname/uname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uname.c,v 1.14 2015/07/21 16:22:59 jasper Exp $ */ +/* $OpenBSD: uname.c,v 1.15 2015/10/03 12:41:16 deraadt Exp $ */ /* * Copyright (c) 1994 Winning Strategies, Inc. @@ -59,6 +59,9 @@ main(int argc, char *argv[]) setlocale(LC_ALL, ""); + if (tame("stdio", NULL) == -1) + err(1, "tame"); + while ((c = getopt(argc, argv, "amnrsvp")) != -1 ) { switch (c) { case 'a': |