From 7981bd7f04c8950347298258ea23feff56c1db12 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 26 Apr 2005 20:07:28 +0000 Subject: r6495: Bugfix for #2596 by James Peach @ SGI. Fix become_root link issues and one IRIX stack backtrace bug. Jeremy. (This used to be commit c0b99c692b7e23a2bfe12c7230fd539771020750) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index 77d4e6d2a6..596f0827a5 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1591,7 +1591,7 @@ void smb_panic2(const char *why, BOOL decrement_pid_count ) } levels = trace_back_stack(0, addrs, names, - BACKTRACE_STACK_SIZE, NAMESIZE); + BACKTRACE_STACK_SIZE, NAMESIZE - 1); DEBUG(0, ("BACKTRACE: %d stack frames:\n", levels)); for (i = 0; i < levels; i++) { -- cgit