1 Description: Specify format strings where appropriate
2 Author: Stephen Kitt <steve@sk2.org>
4 Index: gdmap/src/main.c
5 ===================================================================
6 --- gdmap.orig/src/main.c 2011-03-13 14:32:57.964160454 +0100
7 +++ gdmap/src/main.c 2013-06-22 17:22:24.000000000 +0200
9 g_option_context_set_help_enabled(context, TRUE);
10 g_option_context_add_main_entries(context, Options, NULL);
11 if (!g_option_context_parse(context, &argc, &argv, &error)) {
12 - g_warning(error->message);
13 + g_warning("%s", error->message);
14 g_option_context_free(context);
17 Index: gdmap/src/preferences.c
18 ===================================================================
19 --- gdmap.orig/src/preferences.c 2013-06-22 16:53:02.000000000 +0200
20 +++ gdmap/src/preferences.c 2013-06-22 17:23:01.110547024 +0200
23 if (error->code != G_FILE_ERROR_NOENT) {
24 // The settings file is allowed to not exist
25 - g_message(error->message);
26 + g_message("%s", error->message);