summaryrefslogtreecommitdiff
path: root/usr.bin/logger/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/logger/logger.c')
-rw-r--r--usr.bin/logger/logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/logger/logger.c b/usr.bin/logger/logger.c
index c26b588393c..f87af059f5b 100644
--- a/usr.bin/logger/logger.c
+++ b/usr.bin/logger/logger.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: logger.c,v 1.11 2009/10/27 23:59:40 deraadt Exp $ */
+/* $OpenBSD: logger.c,v 1.12 2013/11/26 13:19:07 deraadt Exp $ */
/* $NetBSD: logger.c,v 1.4 1994/12/22 06:27:00 jtc Exp $ */
/*
@@ -157,7 +157,7 @@ decode(char *name, CODE *codetab)
{
CODE *c;
- if (isdigit(*name))
+ if (isdigit((unsigned char)*name))
return (atoi(name));
for (c = codetab; c->c_name; c++)