From da9b35e8158e7f88c5edac3b31377f0fe15b672a Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Tue, 15 May 2018 17:48:50 +0100 Subject: [PATCH] Change time format output --- tools/serialdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/serialdump.c b/tools/serialdump.c index ed4f6d85d..ab82024a3 100644 --- a/tools/serialdump.c +++ b/tools/serialdump.c @@ -291,7 +291,7 @@ main(int argc, char **argv) time_t t; t = time(&t); strftime(outbuf, HCOLS, timeformat, localtime(&t)); - printf("%s|", outbuf); + printf("[%s] ", outbuf); mode = MODE_DATE; } /* continue into the MODE_DATE */