The sysctl.h doesn't include comment for struct kinfo_proc.p_comm.
Add field comment as all other fields seem to be commented.

Timo

Index: sysctl.h
===================================================================
RCS file: /cvs/src/sys/sys/sysctl.h,v
retrieving revision 1.121
diff -u -u -r1.121 sysctl.h
--- sysctl.h    23 Mar 2012 15:51:26 -0000      1.121
+++ sysctl.h    7 Apr 2012 09:14:32 -0000
@@ -388,7 +388,7 @@
        u_int16_t p_xstat;              /* U_SHORT: Exit status for
wait; also stop signal. */
        u_int16_t p_acflag;             /* U_SHORT: Accounting flags. */

-       char    p_comm[KI_MAXCOMLEN];
+       char    p_comm[KI_MAXCOMLEN];   /* original command name */

        char    p_wmesg[KI_WMESGLEN];   /* wchan message */
        u_int64_t p_wchan;              /* PTR: sleep address. */

Reply via email to