mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 10:52:50 +00:00
Don't fail if less then MAXDEV /dev/usb\d+ entries exist.
This commit is contained in:
parent
c37cedc57d
commit
38e144ec2b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55788
@ -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)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user