diff --git a/src/node_device/node_device_udev.c b/src/node_device/node_device_udev.c index dcd889d95ff7343e32d03bf1f4c88c7bd74b73cf..2bc2d32a35abffeff480d1fe53b14e4c4d4cf497 100644 --- a/src/node_device/node_device_udev.c +++ b/src/node_device/node_device_udev.c @@ -500,14 +500,14 @@ static int udevProcessUSBDevice(struct udev_device *device, if (udevGetUintProperty(device, "BUSNUM", &data->usb_dev.bus, - 0) == PROPERTY_ERROR) { + 10) == PROPERTY_ERROR) { goto out; } if (udevGetUintProperty(device, "DEVNUM", &data->usb_dev.device, - 0) == PROPERTY_ERROR) { + 10) == PROPERTY_ERROR) { goto out; }