Fix a braino in ccd's clone routine.
Submitted by: tegge
This commit is contained in:
parent
75fab00593
commit
896dba5a0c
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user