svn commit: r335685 - head/usr.bin/top

Daichi GOTO daichi at FreeBSD.org
Wed Jun 27 02:55:31 UTC 2018


Author: daichi
Date: Wed Jun 27 02:55:30 2018
New Revision: 335685
URL: https://svnweb.freebsd.org/changeset/base/335685

Log:
  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

Modified:
  head/usr.bin/top/machine.c

Modified: head/usr.bin/top/machine.c
==============================================================================
--- head/usr.bin/top/machine.c	Wed Jun 27 01:51:17 2018	(r335684)
+++ head/usr.bin/top/machine.c	Wed Jun 27 02:55:30 2018	(r335685)
@@ -871,7 +871,7 @@ format_next_process(struct handle * xhandle, char *(*g
 	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. */


More information about the svn-src-all mailing list