Fix warning about format string misuse

This commit is contained in:
Nikos Tsipinakis 2021-02-21 12:17:29 +02:00
parent 399489567c
commit f976c2d44c

View File

@ -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");
}