From 9eaa3c81c9b13091bd1ba700f2cc9537acc16dfe Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 19 Feb 2010 22:13:32 +0100 Subject: [PATCH] g_message with variable --- openbox/openbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/openbox.c b/openbox/openbox.c index f19f064..12fb2f6 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -711,7 +711,7 @@ static Cursor load_cursor(const gchar *name, guint fontval) void ob_exit_with_error(const gchar *msg) { - g_message(msg); + g_message("%s", msg); session_shutdown(TRUE); exit(EXIT_FAILURE); } -- 1.9.1