summaryrefslogtreecommitdiff
path: root/extras/usb_id
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-29 19:03:08 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-29 19:03:08 +0200
commit4aa0b15efbb44dbcbb0a4fa6e7bb45e70e1ec537 (patch)
treeaf06798cf2e2e197a545cd9c99e5826d4422114b /extras/usb_id
parent9176ac1f4e42f71df692773651898100b253774c (diff)
fix dbg() callers
Diffstat (limited to 'extras/usb_id')
-rw-r--r--extras/usb_id/usb_id.c4
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);