Kaydet (Commit) ccbf0df2 authored tarafından Colomban Wendling's avatar Colomban Wendling

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.
üst e2d2a569
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment