From: Kay Sievers Date: Sat, 30 Jul 2011 21:16:43 +0000 (+0200) Subject: udevd: debug - put timestamp in [] X-Git-Tag: 174~46 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd7eed2eb4f0282c5afbddf777f6c313842890e;p=systemd udevd: debug - put timestamp in [] --- 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 {