From d40d0cd29e62b99baa2c53d5a6261d8655fe1828 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 22 Aug 2017 12:13:38 +0200 Subject: [PATCH] log: change alignment of log output --- lib/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.c b/lib/log.c index bb1ca50db..02b37db54 100644 --- a/lib/log.c +++ b/lib/log.c @@ -267,7 +267,7 @@ void log_vprint(struct log *l, const char *lvl, const char *fmt, va_list ap) strcatf(&buf, "%s", l->prefix); /* Timestamp & Severity */ - strcatf(&buf, "%10.3f %5s ", time_delta(&l->epoch, &ts), lvl); + strcatf(&buf, "%10.3f %-5s ", time_delta(&l->epoch, &ts), lvl); /* Indention */ #ifdef __GNUC__