From 612e0030b6035f45a5ce7253ea8c70621c9946f2 Mon Sep 17 00:00:00 2001 From: Daichi GOTO Date: Wed, 27 Jun 2018 02:55:30 +0000 Subject: [PATCH] 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 --- usr.bin/top/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c index 8617a2fbd26f..c860213eabe0 100644 --- a/usr.bin/top/machine.c +++ b/usr.bin/top/machine.c @@ -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. */