launcher: Don't pass variable as format string

We know the variable only contains one or another string literal,
but keep compilers happy as well.
This commit is contained in:
Florian Müllner 2015-09-16 17:38:10 +02:00
parent c49b284643
commit dc780d2c44

View File

@ -63,7 +63,7 @@ report_error_and_die (const char *prefix,
if (error) if (error)
g_error ("%s: %s", prefix, error->message); g_error ("%s: %s", prefix, error->message);
else else
g_error (prefix); g_error ("%s", prefix);
/* the error is not freed, but it is ok as g_error aborts the process */ /* the error is not freed, but it is ok as g_error aborts the process */
} }