Fix a braino in ccd's clone routine.

Submitted by:	tegge
This commit is contained in:
Poul-Henning Kamp 2001-01-29 06:18:14 +00:00
parent 75fab00593
commit 896dba5a0c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71773
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;