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
1 changed files with 1 additions and 1 deletions

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