In "procstat -v" (VM), spell out 'FL' to 'FLAG' since there are two extra

columns available anyway.  Also left align as we tend to do for flags
fields, although you can't see that currently as the string fully fills
that available columns.

MFC after:	3 days
Sponsored by:	DARPA, AFRL
This commit is contained in:
rwatson 2014-07-20 20:11:34 +00:00
parent cf6d585d2d
commit 4f16edc0ee
2 changed files with 3 additions and 3 deletions

View File

@ -445,7 +445,7 @@ private resident pages
reference count
.It SHD
shadow page count
.It FL
.It FLAG
mapping flags
.It TP
VM object type

View File

@ -50,9 +50,9 @@ procstat_vm(struct procstat *procstat, struct kinfo_proc *kipp)
ptrwidth = 2*sizeof(void *) + 2;
if (!hflag)
printf("%5s %*s %*s %3s %4s %4s %3s %3s %4s %-2s %-s\n",
printf("%5s %*s %*s %3s %4s %4s %3s %3s %-4s %-2s %-s\n",
"PID", ptrwidth, "START", ptrwidth, "END", "PRT", "RES",
"PRES", "REF", "SHD", "FL", "TP", "PATH");
"PRES", "REF", "SHD", "FLAG", "TP", "PATH");
freep = procstat_getvmmap(procstat, kipp, &cnt);
if (freep == NULL)