mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 17:46:21 +00:00
Fix command exec error output
This commit is contained in:
@@ -1745,7 +1745,7 @@ win_command_exec_error(ProfWin *window, const char *const command, const char *c
|
||||
GString *msg = g_string_new(NULL);
|
||||
g_string_vprintf(msg, error, arg);
|
||||
|
||||
win_println(window, THEME_ERROR, '!', "Error executing command %s: %s", command, msg);
|
||||
win_println(window, THEME_ERROR, '!', "Error executing command %s: %s", command, msg->str);
|
||||
|
||||
g_string_free(msg, TRUE);
|
||||
va_end(arg);
|
||||
|
||||
Reference in New Issue
Block a user