From 2dd7eed2eb4f0282c5afbddf777f6c313842890e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 30 Jul 2011 23:16:43 +0200 Subject: [PATCH] udevd: debug - put timestamp in [] --- udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/udev/udevd.c b/udev/udevd.c index 968b4166..2fa2a6a4 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 { -- 2.39.5