From 1ad023e77080df38ef8d344041c51fdfa2b32e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 7 Jun 2019 11:55:52 +0200 Subject: basic/log: drop parens from around file location information There's really no risk of confusion, and shorter is better. --- src/basic/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/log.c b/src/basic/log.c index a81c350ab4..84986a0970 100644 --- a/src/basic/log.c +++ b/src/basic/log.c @@ -351,7 +351,7 @@ static int write_to_console( get_log_colors(LOG_PRI(level), &on, &off, NULL); if (show_location) { - (void) snprintf(location, sizeof location, "(%s:%i) ", file, line); + (void) snprintf(location, sizeof location, "%s:%i: ", file, line); iovec[n++] = IOVEC_MAKE_STRING(location); } -- cgit v1.2.3