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:
parent
c49b284643
commit
dc780d2c44
@ -63,7 +63,7 @@ report_error_and_die (const char *prefix,
|
||||
if (error)
|
||||
g_error ("%s: %s", prefix, error->message);
|
||||
else
|
||||
g_error (prefix);
|
||||
g_error ("%s", prefix);
|
||||
|
||||
/* the error is not freed, but it is ok as g_error aborts the process */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user