18 |
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 |
|
*/ |
20 |
|
|
21 |
+ |
#ifdef HAVE_CONFIG_H |
22 |
+ |
#include "config.h" |
23 |
+ |
#endif |
24 |
+ |
|
25 |
|
#include <statgrab.h> |
26 |
|
#include <string.h> |
27 |
|
#include <stdio.h> |
79 |
|
|
80 |
|
for (i = 0; i < num_stats; i++) |
81 |
|
free(stats[i].name); |
78 |
– |
free(stats); |
79 |
– |
stats = NULL; |
82 |
|
num_stats = 0; |
81 |
– |
alloc_stats = 0; |
83 |
|
} |
84 |
|
|
85 |
|
/* Add a stat. The varargs make up the name, joined with dots; the name is |
417 |
|
" -t DELAY When repeating, wait DELAY seconds between updates (default 1)\n" |
418 |
|
" -p Display CPU usage as percentages rather than absolute values\n" |
419 |
|
"\n"); |
420 |
< |
printf("Report bugs to <bugs@i-scream.org>.\n"); |
420 |
> |
printf("Version %s - report bugs to <%s>.\n", |
421 |
> |
PACKAGE_VERSION, PACKAGE_BUGREPORT); |
422 |
|
exit(1); |
423 |
|
} |
424 |
|
|