From 372b9bffa7197b345df35f75a577195a19b72eff Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 17 Apr 2011 22:09:08 +0200 Subject: udevadm: test - use printf() instead of info() for non-debug output --- udev/udevadm-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'udev/udevadm-test.c') diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c index 4db70c49dd..4137ce91fa 100644 --- a/udev/udevadm-test.c +++ b/udev/udevadm-test.c @@ -114,17 +114,17 @@ int udevadm_test(struct udev *udev, int argc, char *argv[]) err = udev_event_execute_rules(event, rules); if (udev_device_get_event_timeout(dev) >= 0) - info(udev, "custom event timeout: %i\n", udev_device_get_event_timeout(dev)); + printf("custom event timeout: %i\n", udev_device_get_event_timeout(dev)); udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev)) - info(udev, "%s=%s\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry)); + printf("%s=%s\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry)); if (err == 0) udev_list_entry_foreach(entry, udev_list_get_entry(&event->run_list)) { char program[UTIL_PATH_SIZE]; udev_event_apply_format(event, udev_list_entry_get_name(entry), program, sizeof(program)); - info(udev, "run: '%s'\n", program); + printf("run: '%s'\n", program); } udev_event_unref(event); udev_device_unref(dev); -- cgit v1.2.3-54-g00ecf