summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
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 /udev/udevadm-info.c
parent9176ac1f4e42f71df692773651898100b253774c (diff)
fix dbg() callers
Diffstat (limited to 'udev/udevadm-info.c')
-rw-r--r--udev/udevadm-info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index 0a774b057f..624fb01eb4 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -32,6 +32,7 @@
static void print_all_attributes(struct udev_device *device, const char *key)
{
+ struct udev *udev = udev_device_get_udev(device);
DIR *dir;
struct dirent *dent;
@@ -69,7 +70,7 @@ static void print_all_attributes(struct udev_device *device, const char *key)
while (len > 0 && isprint(value[len-1]))
len--;
if (len > 0) {
- dbg(info, "attribute value of '%s' non-printable, skip\n", dent->d_name);
+ dbg(udev, "attribute value of '%s' non-printable, skip\n", dent->d_name);
continue;
}