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. */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to