o Fix rev. 1.41, print a header. -STABLE is OK.

PR:		bin/53585
Submitted by:	Alexey Dokuchaev <danfe@regency.nsu.ru>
This commit is contained in:
Maxim Konovalov 2003-06-23 08:43:19 +00:00
parent 9ef3f16d08
commit c30afbc578

View File

@ -273,6 +273,7 @@ fstat_kvm(int what, int arg)
#endif
if ((p = kvm_getprocs(kd, what, arg, &cnt)) == NULL)
errx(1, "%s", kvm_geterr(kd));
print_header();
for (plast = &p[cnt]; p < plast; ++p) {
if (p->ki_stat == SZOMB)
continue;