mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
client: Refactor error message formating
This commit is contained in:
parent
571d66fe42
commit
09f454b19f
@ -278,7 +278,7 @@ void display(const char *fmt, ...)
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user