summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-04-26 20:07:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:43 -0500
commit7981bd7f04c8950347298258ea23feff56c1db12 (patch)
treea3ba285d8436acca1e8dc6f58b6b31190fbc680e /source3/lib
parentae21b39a9bcb52e5d3eb2e1b1f6170639e63d980 (diff)
downloadsamba-7981bd7f04c8950347298258ea23feff56c1db12.tar.gz
samba-7981bd7f04c8950347298258ea23feff56c1db12.tar.bz2
samba-7981bd7f04c8950347298258ea23feff56c1db12.zip
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)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
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++) {