Don't fail if less then MAXDEV /dev/usb\d+ entries exist.

This commit is contained in:
Nick Hibma 2000-01-10 22:35:33 +00:00
parent c37cedc57d
commit 38e144ec2b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55788

View File

@ -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)
*/