aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-dialog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/trace-dialog.c b/trace-dialog.c
index 73da046..a19813b 100644
--- a/trace-dialog.c
+++ b/trace-dialog.c
@@ -127,8 +127,10 @@ void warning(const char *fmt, ...)
127 127
128 g_string_append(str, "\n"); 128 g_string_append(str, "\n");
129 129
130 if (errno) 130 if (errno) {
131 g_string_prepend(str, "\n");
131 g_string_prepend(str, strerror(errno)); 132 g_string_prepend(str, strerror(errno));
133 }
132 134
133 errno = 0; 135 errno = 0;
134 136