about summary refs log tree commit diff
path: root/time/scheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/scheck.c')
-rw-r--r--time/scheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/time/scheck.c b/time/scheck.c
index 404c6b2111..64f25076ed 100644
--- a/time/scheck.c
+++ b/time/scheck.c
@@ -1,6 +1,6 @@
 #ifndef lint
 #ifndef NOID
-static char	elsieid[] = "@(#)scheck.c	8.12";
+static char	elsieid[] = "@(#)scheck.c	8.13";
 #endif /* !defined lint */
 #endif /* !defined NOID */
 
@@ -42,7 +42,7 @@ char * const		format;
 		*tp++ = '*';
 		if (*fp == '*')
 			++fp;
-		while (isascii(*fp) && isdigit(*fp))
+		while (is_digit(*fp))
 			*tp++ = *fp++;
 		if (*fp == 'l' || *fp == 'h')
 			*tp++ = *fp++;