summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index e544a4435..6ff76b67f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -619,6 +619,9 @@ void do_backtrace(int show_segheader)
free(strings);
alog("Backtrace: complete");
#else
- alog("Backtrace: not available on this platform");
+ if (show_segheader) {
+ alog("Backtrace: Segmentation fault detected");
+ }
+ alog("Backtrace: not available on this system");
#endif
}