]> err.no Git - systemd/commitdiff
udevd: debug - put timestamp in []
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 30 Jul 2011 21:16:43 +0000 (23:16 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 30 Jul 2011 21:16:43 +0000 (23:16 +0200)
udev/udevd.c

index 968b41667e356b2a81b6b8cff467506e83feb2e3..2fa2a6a48add9ce28aa692bae2657ac4ca96d0f5 100644 (file)
@@ -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 {