summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2007-11-08 23:53:03 +0000
committerHisham Muhammad <hisham@gobolinux.org>2007-11-08 23:53:03 +0000
commitb70b35ea659d9a859de3cb480580ceb98a6b63e0 (patch)
tree02188a1ca0fcdb25721d073f71786d5b361236a3 /CRT.c
parenta7c2aedcecd3763464e83f80bd6c4f1216f58428 (diff)
Improve error display on crash to get better bug reports.
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/CRT.c b/CRT.c
index 97104522..f922a9b6 100644
--- a/CRT.c
+++ b/CRT.c
@@ -14,6 +14,7 @@ in the source distribution for its full text.
#include "String.h"
+#include "config.h"
#include "debug.h"
#define ColorPair(i,j) COLOR_PAIR((7-i)*8+j)
@@ -181,7 +182,7 @@ void CRT_enableDelay() {
void CRT_handleSIGSEGV(int signal) {
CRT_done();
- fprintf(stderr, "Aborted. Please report bug at http://htop.sf.net");
+ fprintf(stderr, "htop " VERSION " aborted. Please report bug at http://htop.sf.net\n");
exit(1);
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy