]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
log: use ansi_normal() instead of ANSI_NORMAL
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 17 Jan 2021 21:36:02 +0000 (06:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Jan 2021 11:52:03 +0000 (20:52 +0900)
src/basic/log.c

index 53f8df634f271d8dd7fb47268c540637ede095e6..665dbf40a52fe350c5eca2c191bd6f7f8bbdca0b 100644 (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);