diff options
Diffstat (limited to 'usr.bin/nice/nice.c')
-rw-r--r-- | usr.bin/nice/nice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/nice/nice.c b/usr.bin/nice/nice.c index dcb922efe5e..6ff79db39e8 100644 --- a/usr.bin/nice/nice.c +++ b/usr.bin/nice/nice.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nice.c,v 1.11 2009/10/27 23:59:41 deraadt Exp $ */ +/* $OpenBSD: nice.c,v 1.12 2013/11/20 20:52:12 deraadt Exp $ */ /* $NetBSD: nice.c,v 1.9 1995/08/31 23:30:58 jtc Exp $ */ /* @@ -54,7 +54,7 @@ main(int argc, char *argv[]) setlocale(LC_ALL, ""); /* handle obsolete -number syntax */ - if (argc > 1 && argv[1][0] == '-' && isdigit(argv[1][1])) { + if (argc > 1 && argv[1][0] == '-' && isdigit((unsigned char)argv[1][1])) { niceness = atoi(argv[1] + 1); argc--; argv++; |