From 4aa0b15efbb44dbcbb0a4fa6e7bb45e70e1ec537 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 29 Sep 2008 19:03:08 +0200 Subject: fix dbg() callers --- udev/udevadm-info.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'udev') 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; } -- cgit v1.2.3-54-g00ecf