Commit 1097aefbad905066cc2628effb6065a1d08f05dc

Luke Dashjr 2012-07-23T19:35:51

Add space to log output now that there is more screen real estate available.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/logging.c b/logging.c
index 7d8a430..aba6f60 100644
--- a/logging.c
+++ b/logging.c
@@ -121,7 +121,7 @@ static void __maybe_unused log_generic(int prio, const char *fmt, va_list ap)
 
 		len = 40 + strlen(fmt) + 22;
 		f = alloca(len);
-		sprintf(f, "[%d-%02d-%02d %02d:%02d:%02d] %s\n",
+		sprintf(f, " [%d-%02d-%02d %02d:%02d:%02d] %s\n",
 			tm->tm_year + 1900,
 			tm->tm_mon + 1,
 			tm->tm_mday,