Initialize interrupt counters. The boot time values were displayed as ***.

Should be in 2.2.

Pointed out by:	/etc/malloc.conf -> AJ
This commit is contained in:
Bruce Evans 1996-11-10 08:30:18 +00:00
parent 39172c9401
commit adb844d545
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19598

View File

@ -625,7 +625,7 @@ allocinfo(s)
struct Info *s;
{
s->intrcnt = (long *) malloc(nintr * sizeof(long));
s->intrcnt = (long *) calloc(nintr, sizeof(long));
if (s->intrcnt == NULL) {
fprintf(stderr, "systat: out of memory\n");
exit(2);