diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-08 23:53:03 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-08 23:53:03 +0000 |
commit | b70b35ea659d9a859de3cb480580ceb98a6b63e0 (patch) | |
tree | 02188a1ca0fcdb25721d073f71786d5b361236a3 /CRT.c | |
parent | a7c2aedcecd3763464e83f80bd6c4f1216f58428 (diff) |
Improve error display on crash to get better bug reports.
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |