Merged from sys/isa/fd.c revision 1.244.
This commit is contained in:
parent
cd72f2180b
commit
7a6794e9c4
@ -1447,6 +1447,9 @@ fd_clone(void *arg, char *name, int namelen, dev_t *dev)
|
||||
return;
|
||||
if (dev_stdclone(name, &n, "fd", &u) != 2)
|
||||
return;
|
||||
if (u != fd->fdu)
|
||||
/* unit # mismatch */
|
||||
return;
|
||||
l = strlen(n);
|
||||
if (l == 1 && *n >= 'a' && *n <= 'h') {
|
||||
/*
|
||||
|
@ -1447,6 +1447,9 @@ fd_clone(void *arg, char *name, int namelen, dev_t *dev)
|
||||
return;
|
||||
if (dev_stdclone(name, &n, "fd", &u) != 2)
|
||||
return;
|
||||
if (u != fd->fdu)
|
||||
/* unit # mismatch */
|
||||
return;
|
||||
l = strlen(n);
|
||||
if (l == 1 && *n >= 'a' && *n <= 'h') {
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user