diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-06-04 17:03:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-06-04 17:03:05 +0000 |
commit | 61576e6a8bea3a2ebc172b02ddadeff63d14316f (patch) | |
tree | 6d8d873c8b2247bf3606f07652f092f525885a7e /sys | |
parent | 636f6476d0bfde5b2e8ed1e43359c7567ba1e3b4 (diff) |
Ten lines of backtrace should be better on 25-line screens, so that the panic
message is still visible.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ddb/db_trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c index 94a7cff8b74..6d463759d32 100644 --- a/sys/ddb/db_trap.c +++ b/sys/ddb/db_trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trap.c,v 1.12 2007/06/04 16:52:39 miod Exp $ */ +/* $OpenBSD: db_trap.c,v 1.13 2007/06/04 17:03:04 miod Exp $ */ /* $NetBSD: db_trap.c,v 1.9 1996/02/05 01:57:18 christos Exp $ */ /* @@ -78,7 +78,7 @@ db_trap(int type, int code) * give the user a traceback. */ if (cold) { - db_stack_trace_print(db_dot, 0, 20 /* arbitrary */, "", + db_stack_trace_print(db_dot, 0, 10 /* arbitrary */, "", db_printf); } |