mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Fix a braino in ccd's clone routine.
Submitted by: tegge
This commit is contained in:
parent
75fab00593
commit
896dba5a0c
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue