Bump MAXCOMLEN from 16 to 19 to take advantage of 32-bit alignment.

Approved by:	peter, jasone
This commit is contained in:
jhb 2001-08-10 05:34:48 +00:00
parent a2ccfa0c6d
commit f066389aac
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@
*/
#include <sys/syslimits.h>
#define MAXCOMLEN 16 /* max command name remembered */
#define MAXCOMLEN 19 /* max command name remembered */
#define MAXINTERP 32 /* max interpreter file name length */
#define MAXLOGNAME 17 /* max login name length (incl. NUL) */
#define MAXUPRC CHILD_MAX /* max simultaneous processes */

View File

@ -152,7 +152,7 @@ struct kinfo_proc {
char ki_wmesg[WMESGLEN+1]; /* wchan message */
char ki_login[MAXLOGNAME+1]; /* setlogin name */
char ki_mtxname[MTXNAMELEN+1]; /* mutex name */
char ki_sparestrings[102]; /* spare string space */
char ki_sparestrings[99]; /* spare string space */
struct rusage ki_rusage; /* process rusage statistics */
long ki_sflag; /* PS_* flags */
struct priority ki_pri; /* process priority */