diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-01-10 22:35:33 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-01-10 22:35:33 +0000 |
commit | 6ee166cb62b0355ec455077af6de4c02e59540a4 (patch) | |
tree | 61b7cb9bb67f74f9813823e90863548c71250a94 /usr.sbin/usbd | |
parent | 35a61f699e10b659149b55c26916d3ed7c06b825 (diff) | |
download | FreeBSD-src-6ee166cb62b0355ec455077af6de4c02e59540a4.zip FreeBSD-src-6ee166cb62b0355ec455077af6de4c02e59540a4.tar.gz |
Don't fail if less then MAXDEV /dev/usb\d+ entries exist.
Diffstat (limited to 'usr.sbin/usbd')
-rw-r--r-- | usr.sbin/usbd/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/usbd/usbd.c b/usr.sbin/usbd/usbd.c index b5fda98..09190c9 100644 --- a/usr.sbin/usbd/usbd.c +++ b/usr.sbin/usbd/usbd.c @@ -942,7 +942,7 @@ main(int argc, char **argv) if (fds[ndevs] > maxfd) maxfd = fds[ndevs]; ndevs++; - } else if (errno != ENXIO) { + } else if (errno != ENXIO && errno != ENOENT) { /* there was an error, on a device that does * exist (device is configured) */ |