diff options
Diffstat (limited to 'extras/usb_id')
-rw-r--r-- | extras/usb_id/usb_id.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/usb_id/usb_id.c b/extras/usb_id/usb_id.c index f482147b68..2154552120 100644 --- a/extras/usb_id/usb_id.c +++ b/extras/usb_id/usb_id.c @@ -208,7 +208,7 @@ static int usb_id(struct udev *udev, const char *devpath) int if_class_num; int protocol = 0; - dbg("devpath %s\n", devpath); + dbg(udev, "devpath %s\n", devpath); /* get all usb specific information: dev_interface, if_class, dev_usb */ dev = sysfs_device_get(udev, devpath); @@ -327,7 +327,7 @@ fallback: usb_model = sysfs_attr_get_value(udev, dev_usb->devpath, "idProduct"); if (!usb_model) { - dbg("No USB model information available\n"); + dbg(udev, "No USB model information available\n"); return 1; } set_str(model_str, usb_model, sizeof(model_str)-1); |