summaryrefslogtreecommitdiffstats
path: root/discover/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/udev.c')
-rw-r--r--discover/udev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/udev.c b/discover/udev.c
index 9d62840..b93c1a5 100644
--- a/discover/udev.c
+++ b/discover/udev.c
@@ -82,10 +82,10 @@ static void print_event(struct udev_event *event)
action = event->action == UDEV_ACTION_ADD ? "add" : "remove";
pb_log("udev %s event:\n", action);
- printf("\tdevice: %s\n", event->device);
+ pb_log("\tdevice: %s\n", event->device);
for (i = 0; params[i]; i++)
- printf("\t%-12s => %s\n",
+ pb_log("\t%-12s => %s\n",
params[i], udev_event_param(event, params[i]));
}
OpenPOWER on IntegriCloud