Avoid passing plain strings as format
Introduced in #2111, this gets caught by GCC's -Wformat-security which is enabled as an error in our nightly builds.
This commit is contained in:
parent
e2d2a569f2
commit
ccbf0df24a
@ -1182,8 +1182,8 @@ gint main_lib(gint argc, gchar **argv)
|
||||
{
|
||||
const gchar *message =
|
||||
_("IPC socket could not be created, see Help->Debug Messages for details.");
|
||||
ui_set_statusbar(TRUE, message);
|
||||
g_warning(message);
|
||||
ui_set_statusbar(TRUE, "%s", message);
|
||||
g_warning("%s", message);
|
||||
}
|
||||
|
||||
/* apply all configuration options */
|
||||
|
Loading…
x
Reference in New Issue
Block a user