From f976c2d44cb5567eea94ba83c8a32c84b07e2f1c Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Sun, 21 Feb 2021 12:17:29 +0200 Subject: [PATCH] Fix warning about format string misuse --- src/notification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notification.c b/src/notification.c index 4e9f74c..b16d671 100644 --- a/src/notification.c +++ b/src/notification.c @@ -454,7 +454,7 @@ void notification_init(struct notification *n) if (g_str_has_prefix(n->summary, "DUNST_COMMAND_")) { char *msg = "DUNST_COMMAND_* has been removed, please switch to dunstctl. See #830 for more details. https://github.com/dunst-project/dunst/pull/830"; - LOG_W(msg); + LOG_W("%s", msg); n->body = string_append(n->body, msg, "\n"); }