3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 23:09:34 +01:00

client: Refactor error message formating

This commit is contained in:
Tim Kourt 2019-08-15 11:40:37 -07:00 committed by Denis Kenzior
parent 571d66fe42
commit 09f454b19f

View File

@ -278,7 +278,7 @@ void display(const char *fmt, ...)
void display_error(const char *error) void display_error(const char *error)
{ {
char *text = l_strdup_printf(COLOR_RED "%s\n" COLOR_OFF, error); char *text = l_strdup_printf(COLOR_RED "%s" COLOR_OFF "\n", error);
display_text(text); display_text(text);