From c699f2e26d805b1f9159c4086cfd6b5ea25004a4 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Sat, 19 May 2018 00:00:00 -0500 Subject: [PATCH] top: just respond to the increased command name length The command name for running tasks is displayed by top in a variable length field, so the increase from 16 to 64 bytes was not a problem. However, there's one place where top is sensitive to length - insp_view_choice(). So, this patch just bumps a buffer used to display it. Reference(s): . increased 'comm' length commit 2cfdbbe897f0d4e41460c7c2b92acfc5804652c8 Signed-off-by: Jim Warner --- top/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/top/top.c b/top/top.c index 1ff44e52..d8901401 100644 --- a/top/top.c +++ b/top/top.c @@ -3368,7 +3368,7 @@ signify_that: adj_geometry(); for (;;) { - char pid[6], cmd[16]; + char pid[6], cmd[64]; if (curcol < 0) curcol = 0; if (curlin >= Insp_nl) curlin = Insp_nl -1;