mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-05-03 23:27:33 +02: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…
x
Reference in New Issue
Block a user