dcc2fb3707
Stop free() even if kvm_getprocs as we can come back but set nprocs = 0. Check nprocs in showpigs() to ensure not try displaying with kvm_getprocs failed. Current code can have pt with non-null after kvm_getprocs() failure. Replace to realloc for simpler operations. Submitted by: Yoshihiro Ota ota@j.email.ne.jp Reviewed by: mckusick@ Differential Revision: https://reviews.freebsd.org/D29303 |
||
---|---|---|
.. | ||
cmds.c | ||
cmdtab.c | ||
convtbl.c | ||
convtbl.h | ||
devs.c | ||
devs.h | ||
extern.h | ||
fetch.c | ||
icmp6.c | ||
icmp.c | ||
ifcmds.c | ||
ifstat.c | ||
iostat.c | ||
ip6.c | ||
ip.c | ||
keyboard.c | ||
main.c | ||
Makefile | ||
Makefile.depend | ||
mode.c | ||
mode.h | ||
netcmds.c | ||
netstat.c | ||
pigs.c | ||
sctp.c | ||
swap.c | ||
sysput.c | ||
systat.1 | ||
systat.h | ||
tcp.c | ||
vmstat.c | ||
zarc.c |