summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-06-07 11:55:52 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-01 14:32:45 +0200
commit1ad023e77080df38ef8d344041c51fdfa2b32e5c (patch)
tree2a02a015ca3408b058051365a27ec89d005815ef
parent9c69cd7ec02f9cca3fdb313beb992ae8ea16e8e4 (diff)
downloadsystemd-1ad023e77080df38ef8d344041c51fdfa2b32e5c.tar.gz
systemd-1ad023e77080df38ef8d344041c51fdfa2b32e5c.tar.bz2
systemd-1ad023e77080df38ef8d344041c51fdfa2b32e5c.zip
basic/log: drop parens from around file location information
There's really no risk of confusion, and shorter is better.
-rw-r--r--src/basic/log.c2
1 files changed, 1 insertions, 1 deletions
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);
}