don't use a variable as a format string
This commit is contained in:
parent
4d28614680
commit
7d71fb8a77
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue