diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-31 16:22:55 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-31 16:22:55 +0100 |
commit | 27691aa3ae65b2162e12b5f1d657363908263e12 (patch) | |
tree | 6068ff99b5e87686e2ff3e8093e1f3ef0ac2186a /udev/udevd.c | |
parent | bf182702221411e68cec79305adaa79df7518cf4 (diff) |
write trace log to stderr
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 6f2e188cea..9096f9505b 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -180,7 +180,7 @@ static void event_fork(struct udev_event *event) if (debug_trace) { event->trace = 1; - printf("fork %s (%llu)\n", + fprintf(stderr, "fork %s (%llu)\n", udev_device_get_syspath(event->dev), udev_device_get_seqnum(event->dev)); } @@ -538,7 +538,7 @@ static void udev_done(int pid, int exitstatus) exitstatus, time(NULL) - loop_event->queue_time); loop_event->exitstatus = exitstatus; if (debug_trace) - printf("exit %s (%llu)\n", + fprintf(stderr, "exit %s (%llu)\n", udev_device_get_syspath(loop_event->dev), udev_device_get_seqnum(loop_event->dev)); event_queue_delete(loop_event); |