[5415] in Athena Bugs
systat fix for RT
daemon@ATHENA.MIT.EDU (John Carr)
Wed Jul 4 23:11:52 1990
To: bugs@ATHENA.MIT.EDU
Date: Wed, 04 Jul 90 23:10:10 EDT
From: John Carr <jfc@ATHENA.MIT.EDU>
This patch fixes changes.71 #170 ("systat -h" dumps core).
*** /source/bsd-4.3/rt/ucb/systat/main.c Thu Feb 25 19:45:20 1988
--- main.c Wed Jul 4 23:07:22 1990
***************
*** 79,84 ****
--- 79,86 ----
}
argc--, argv++;
}
+ if (curcmd == 0)
+ exit(1);
nlist("/vmunix", nlst);
if (nlst[X_CCPU].n_type == 0) {
fprintf(stderr, "Couldn't namelist /vmunix.\n");