svn commit: r266985 - head/sys/ddb

John-Mark Gurney jmg at FreeBSD.org
Mon Jun 2 23:50:20 UTC 2014


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);
 	}
 }
 


More information about the svn-src-head mailing list