summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-07-30 23:16:43 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-07-30 23:16:43 +0200
commit2dd7eed2eb4f0282c5afbddf777f6c313842890e (patch)
tree1bb40ecaf50803ee2d65d8c5d7b053b63b2a1257
parent05b74d8563116dc962e852c5a40f5ee7dc1503a4 (diff)
udevd: debug - put timestamp in []
-rw-r--r--udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index 968b41667e..2fa2a6a48a 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -59,7 +59,7 @@ static void log_fn(struct udev *udev, int priority,
vsnprintf(buf, sizeof(buf), format, args);
clock_gettime(CLOCK_MONOTONIC, &ts);
- fprintf(stderr, "%llu.%06u [%u] %s: %s",
+ fprintf(stderr, "[%llu.%06u] [%u] %s: %s",
(unsigned long long) ts.tv_sec, (unsigned int) ts.tv_nsec/1000,
(int) getpid(), fn, buf);
} else {