diff --git a/usr.sbin/usbd/usbd.c b/usr.sbin/usbd/usbd.c index b5fda980effc..09190c9154f2 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) */