When printing process file descriptor lists, show a type of 'h' for
POSIX shared memory descriptors.
This commit is contained in:
parent
07dd4a31b5
commit
87cb56f6df
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue