Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2014 23:50:19 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266985 - head/sys/ddb
Message-ID:  <201406022350.s52NoJe1096873@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Mon Jun  2 23:50:19 2014
New Revision: 266985
URL: http://svnweb.freebsd.org/changeset/base/266985

Log:
  handle longer commands so that lines don't overflow...  people who added
  commands forgot to check this...

Modified:
  head/sys/ddb/db_command.c

Modified: head/sys/ddb/db_command.c
==============================================================================
--- head/sys/ddb/db_command.c	Mon Jun  2 22:58:00 2014	(r266984)
+++ head/sys/ddb/db_command.c	Mon Jun  2 23:50:19 2014	(r266985)
@@ -321,8 +321,8 @@ db_cmd_list(table)
 	register struct command	*cmd;
 
 	LIST_FOREACH(cmd, table, next) {
-		db_printf("%-12s", cmd->name);
-		db_end_line(12);
+		db_printf("%-16s", cmd->name);
+		db_end_line(16);
 	}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406022350.s52NoJe1096873>