about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2018-09-05 14:17:26 +0200
committerPaul Fariello <paul@fariello.eu>2018-09-05 14:17:26 +0200
commitdb1ffae3bd80f52d98fae62c297a16b999df4057 (patch)
tree05c6e986e0aed1c80280ef9d3beae5142466c2bc /src
parent771d90c7660c5fdcb9fd01d7072d2e30cfed36fb (diff)
downloadprofani-tty-db1ffae3bd80f52d98fae62c297a16b999df4057.tar.gz
Fix command exec error output
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 5ad354f2..be89d295 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -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);