diff options
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 2 |
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++) { |