summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libsa')
-rw-r--r--sys/lib/libsa/strtol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/strtol.c b/sys/lib/libsa/strtol.c
index 7915349f4e0..a8558a938c8 100644
--- a/sys/lib/libsa/strtol.c
+++ b/sys/lib/libsa/strtol.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strtol.c,v 1.2 1998/02/24 22:12:27 weingart Exp $ */
+/* $OpenBSD: strtol.c,v 1.3 1998/05/20 00:07:17 art Exp $ */
/* Modified strtol() from stdlib */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -60,7 +60,7 @@ strtol(nptr, endptr, base)
s = nptr;
do {
c = (unsigned char) *s++;
- } while (*s <= ' ' || *s >= 0x7f);
+ } while (c <= ' ' || c >= 0x7f);
if (c == '-') {
neg = 1;
c = *s++;