projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d28614
)
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
Dana Jansens
<danakj@orodu.net>
Wed, 17 Feb 2010 16:44:12 +0000
(11:44 -0500)
openbox/actions/execute.c
patch
|
blob
|
history
diff --git
a/openbox/actions/execute.c
b/openbox/actions/execute.c
index
18daf78
..
fdce77b
100644
(file)
--- a/
openbox/actions/execute.c
+++ b/
openbox/actions/execute.c
@@
-232,7
+232,7
@@
static gboolean run_func(ObActionsData *data, gpointer options)
e = NULL;
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 {
@@
-254,7
+254,7
@@
static gboolean run_func(ObActionsData *data, gpointer options)
G_SPAWN_DO_NOT_REAP_CHILD,
NULL, NULL, NULL, &e);
if (!ok) {
- g_message(
e->message, o->cmd
);
+ g_message(
"%s", e->message
);
g_error_free(e);
}