]>
Commit | Line | Data |
---|---|---|
da106937 JB |
1 | --- box-0.1.13/libinternal/libinternal-utils.c.orig 2008-10-29 19:31:05.000000000 +0100 |
2 | +++ box-0.1.13/libinternal/libinternal-utils.c 2015-02-20 23:06:38.856632525 +0100 | |
3 | @@ -12,7 +12,7 @@ | |
4 | void goption_error_func(GOptionContext *context, GOptionGroup *group, gpointer data, GError **error) | |
5 | { | |
6 | if (*error && (*error)->message) { | |
7 | - gchar *progname = g_get_prgname(); | |
8 | + const gchar *progname = g_get_prgname(); | |
9 | g_print("%s: %s\nTry '%s --help' for more information.\n", progname, (*error)->message, progname); | |
10 | goption_show_error(context); | |
11 | exit(1); |