diff options
Diffstat (limited to 'usr.sbin/rbootd/bpf.c')
| -rw-r--r-- | usr.sbin/rbootd/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rbootd/bpf.c b/usr.sbin/rbootd/bpf.c index 2e2a1db05f4..db81ed2a469 100644 --- a/usr.sbin/rbootd/bpf.c +++ b/usr.sbin/rbootd/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.18 2013/04/20 20:12:10 miod Exp $ */ +/* $OpenBSD: bpf.c,v 1.19 2013/11/28 18:26:46 deraadt Exp $ */ /* $NetBSD: bpf.c,v 1.5.2.1 1995/11/14 08:45:42 thorpej Exp $ */ /* @@ -287,7 +287,7 @@ BpfGetIntfName(char **errmsg) #endif continue; - for (cp = ifa->ifa_name; !isdigit(*cp); ++cp) + for (cp = ifa->ifa_name; !isdigit((unsigned char)*cp); ++cp) ; n = atoi(cp); if (n < minunit) { |
