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:
8f38202
)
don't use a variable as a format string
author
Dana Jansens
<danakj@orodu.net>
Wed, 17 Feb 2010 16:44:12 +0000
(11:44 -0500)
committer
Mikael Magnusson
<mikachu@gmail.com>
Fri, 19 Feb 2010 20:33:54 +0000
(21:33 +0100)
openbox/actions/execute.c
patch
|
blob
|
history
diff --git
a/openbox/actions/execute.c
b/openbox/actions/execute.c
index
175b75a
..
29cd327
100644
(file)
--- a/
openbox/actions/execute.c
+++ b/
openbox/actions/execute.c
@@
-170,7
+170,7
@@
static gboolean run_func(ObActionsData *data, gpointer options)
event_cancel_all_key_grabs();
if (!g_shell_parse_argv(cmd, NULL, &argv, &e)) {
- g_message(
e->message, o->cmd
);
+ g_message(
"%s", e->message
);
g_error_free(e);
}
else {
@@
-189,7
+189,7
@@
static gboolean run_func(ObActionsData *data, gpointer options)
G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD,
NULL, NULL, NULL, &e))
{
- g_message(
e->message, o->cmd
);
+ g_message(
"%s", e->message
);
g_error_free(e);
if (o->sn)