summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-02-17 11:44:12 -0500
committerDana Jansens <danakj@orodu.net>2010-02-17 11:44:12 -0500
commit7d71fb8a77ba9e2ea4938e793410f029265507a8 (patch)
treee15eaaea3d27f24a1d3cbee1d83d8772c99bd942 /openbox
parent4d286146806d92df2ebbb4541609bdd1f6d7fcc5 (diff)
don't use a variable as a format string
Diffstat (limited to 'openbox')
-rw-r--r--openbox/actions/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c
index 18daf784..fdce77b7 100644
--- 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);
}