summaryrefslogtreecommitdiff
path: root/sys/ddb/db_output.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-07 19:45:26 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-07 19:45:26 +0000
commitdb1a965d16083c6ee1c8ac9388a6c6274cc7c74e (patch)
tree1b2cbdc0624ff5d93f9f74c1085b5cca73a20c2e /sys/ddb/db_output.c
parentf997a70bf721cbc4b29d2b6226c72d5a1262cd3c (diff)
Do not wrap lines so often, much prettier x output
Diffstat (limited to 'sys/ddb/db_output.c')
-rw-r--r--sys/ddb/db_output.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c
index 22ed55c7761..9f7c14297df 100644
--- a/sys/ddb/db_output.c
+++ b/sys/ddb/db_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_output.c,v 1.11 1997/07/03 21:24:13 niklas Exp $ */
+/* $OpenBSD: db_output.c,v 1.12 1997/07/07 19:45:23 niklas Exp $ */
/* $NetBSD: db_output.c,v 1.13 1996/04/01 17:27:14 christos Exp $ */
/*
@@ -251,9 +251,10 @@ kdbprintf(fmt, va_alist)
* End line if too long.
*/
void
-db_end_line()
+db_end_line(space)
+ int space;
{
- if (db_output_position >= db_max_width)
+ if (db_output_position >= db_max_width - space)
db_printf("\n");
}