--- projects/libstatgrab/src/statgrab/statgrab.c 2003/08/26 12:09:44 1.1 +++ projects/libstatgrab/src/statgrab/statgrab.c 2003/08/27 20:54:19 1.4 @@ -18,6 +18,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include #include @@ -75,10 +79,7 @@ void clear_stats() { for (i = 0; i < num_stats; i++) free(stats[i].name); - free(stats); - stats = NULL; num_stats = 0; - alloc_stats = 0; } /* Add a stat. The varargs make up the name, joined with dots; the name is @@ -416,7 +417,8 @@ void usage() { " -t DELAY When repeating, wait DELAY seconds between updates (default 1)\n" " -p Display CPU usage as percentages rather than absolute values\n" "\n"); - printf("Report bugs to .\n"); + printf("Version %s - report bugs to <%s>.\n", + PACKAGE_VERSION, PACKAGE_BUGREPORT); exit(1); }