projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0f67693
)
g_message with variable
author
Mikael Magnusson
<mikachu@gmail.com>
Fri, 19 Feb 2010 21:13:32 +0000
(22:13 +0100)
committer
Mikael Magnusson
<mikachu@gmail.com>
Fri, 19 Feb 2010 21:13:32 +0000
(22:13 +0100)
openbox/openbox.c
patch
|
blob
|
history
diff --git
a/openbox/openbox.c
b/openbox/openbox.c
index
f19f064
..
12fb2f6
100644
(file)
--- 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)
{
void ob_exit_with_error(const gchar *msg)
{
- g_message(msg);
+ g_message(
"%s",
msg);
session_shutdown(TRUE);
exit(EXIT_FAILURE);
}
session_shutdown(TRUE);
exit(EXIT_FAILURE);
}