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:
parent
39172c9401
commit
adb844d545
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user