From b70b35ea659d9a859de3cb480580ceb98a6b63e0 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 8 Nov 2007 23:53:03 +0000 Subject: Improve error display on crash to get better bug reports. --- CRT.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CRT.c') 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); } -- cgit v1.2.3