diff options
author | Florian Müllner <fmuellner@gnome.org> | 2015-09-16 17:38:10 +0200 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2015-09-16 17:38:10 +0200 |
commit | dc780d2c4450385a2fba4df34be62e0bfc838c72 (patch) | |
tree | 4789fe236305760d47e1f5c42fb5f4068b318e63 | |
parent | c49b284643b3466740b672dce7ef498aa1ec8d33 (diff) | |
download | mutter-dc780d2c4450385a2fba4df34be62e0bfc838c72.tar.gz |
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.
-rw-r--r-- | src/backends/native/meta-launcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/native/meta-launcher.c b/src/backends/native/meta-launcher.c index 5ceeda7da..6fc450509 100644 --- a/src/backends/native/meta-launcher.c +++ b/src/backends/native/meta-launcher.c @@ -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 */ } |