When printing process file descriptor lists, show a type of 'h' for

POSIX shared memory descriptors.
This commit is contained in:
Robert Watson 2008-01-20 19:57:33 +00:00
parent 07dd4a31b5
commit 87cb56f6df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175515

View File

@ -201,6 +201,10 @@ procstat_files(pid_t pid, struct kinfo_proc *kipp)
str = "m";
break;
case KF_TYPE_SHM:
str = "h";
break;
case KF_TYPE_NONE:
case KF_TYPE_UNKNOWN:
default: