top(1): increased the maximum length of command shown by "-a"

Reviewed by:	eadler
Approved by:	gnn (mentor)
Differential Revision:	https://reviews.freebsd.org/D16006
This commit is contained in:
Daichi GOTO 2018-06-27 02:55:30 +00:00
parent af8854fdc1
commit 612e0030b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335685

View File

@ -871,7 +871,7 @@ format_next_process(struct handle * xhandle, char *(*get_userid)(int), int flags
long p_tot, s_tot;
char *cmdbuf = NULL;
char **args;
const int cmdlen = 128;
const int cmdlen = 256;
static struct sbuf* procbuf = NULL;
/* clean up from last time. */