summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-16 17:07:47 +0000
committerphk <phk@FreeBSD.org>2001-11-16 17:07:47 +0000
commit13cae0ede7a7e52fc68f2be4ee9bac85ce530983 (patch)
treea338476e722e2899dc53b1d3b800b49c39ffc1dd /sys/kern/kern_conf.c
parent045e2cb555abbaf912f06140c6f48f335ce24ca1 (diff)
downloadFreeBSD-src-13cae0ede7a7e52fc68f2be4ee9bac85ce530983.zip
FreeBSD-src-13cae0ede7a7e52fc68f2be4ee9bac85ce530983.tar.gz
Back out the previous fix to the leading zero problem, I hadn't
noticed it in there already. That should teach me to check exit code from cvsup.
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 511868f..552e67e 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -412,8 +412,6 @@ dev_stdclone(char *name, char **namep, char *stem, int *unit)
return (0);
if (!isdigit(name[i]))
return (0);
- if (name[i] == '0' && name[i + 1] != '\0' && isdigit(name[i + 1]))
- return (0);
u = 0;
if (name[i] == '0' && isdigit(name[i+1]))
return (0);
OpenPOWER on IntegriCloud