1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-25 18:50:18 +03:00

log: use ansi_normal() instead of ANSI_NORMAL

This commit is contained in:
Yu Watanabe 2021-01-18 06:36:02 +09:00
parent 6dcf299d9b
commit 7b376b29a3

View File

@ -405,7 +405,7 @@ static int write_to_console(
const char *lon = "", *loff = "";
if (log_get_show_color()) {
lon = ansi_highlight_yellow4();
loff = ANSI_NORMAL;
loff = ansi_normal();
}
(void) snprintf(location, sizeof location, "%s%s:%i%s: ", lon, file, line, loff);