diff options
author | phk <phk@FreeBSD.org> | 2001-01-29 06:18:14 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-01-29 06:18:14 +0000 |
commit | 11132720d3fe4b4b522a26de29c3aec143fa2352 (patch) | |
tree | d0fe6eb9bcc0f0bab246b7beef3e2c459ddd7477 /sys/geom | |
parent | 5558e85bb40ae6817c61840017477aa7e2c51e2f (diff) | |
download | FreeBSD-src-11132720d3fe4b4b522a26de29c3aec143fa2352.zip FreeBSD-src-11132720d3fe4b4b522a26de29c3aec143fa2352.tar.gz |
Fix a braino in ccd's clone routine.
Submitted by: tegge
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_ccd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c index cdd07ce..13964a3 100644 --- a/sys/geom/geom_ccd.c +++ b/sys/geom/geom_ccd.c @@ -296,7 +296,7 @@ ccd_clone(void *arg, char *name, int namelen, dev_t *dev) return; if (u >= numccd) return; - if (*s <= 'a' || *s >= 'h') + if (*s < 'a' || *s > 'h') return; if (s[1] != '\0') return; |