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:
parent
571d66fe42
commit
09f454b19f
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user