From: Zbigniew Jędrzejewski-Szmek Date: Fri, 7 Jun 2019 09:55:52 +0000 (+0200) Subject: basic/log: drop parens from around file location information X-Git-Tag: v243-rc1~163^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ad023e77080df38ef8d344041c51fdfa2b32e5c;p=thirdparty%2Fsystemd.git basic/log: drop parens from around file location information There's really no risk of confusion, and shorter is better. --- diff --git a/src/basic/log.c b/src/basic/log.c index a81c350ab4d..84986a0970a 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); }