g_message with variable
[mikachu/openbox.git] / openbox / openbox.c
index f19f064..12fb2f6 100644 (file)
@@ -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);
 }