diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-06-07 11:55:52 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-07-01 14:32:45 +0200 |
commit | 1ad023e77080df38ef8d344041c51fdfa2b32e5c (patch) | |
tree | 2a02a015ca3408b058051365a27ec89d005815ef /src/basic | |
parent | udev: accept lines which have only PROGRAM= (diff) | |
download | systemd-1ad023e77080df38ef8d344041c51fdfa2b32e5c.tar.xz systemd-1ad023e77080df38ef8d344041c51fdfa2b32e5c.zip |
basic/log: drop parens from around file location information
There's really no risk of confusion, and shorter is better.
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/log.c | 2 |
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); } |