mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
3ddaeed282
commit
797add4a73
@ -1428,7 +1428,6 @@ void smb_panic(const char *why)
|
||||
{
|
||||
char *cmd;
|
||||
int result;
|
||||
size_t i;
|
||||
#ifdef HAVE_BACKTRACE_SYMBOLS
|
||||
void *backtrace_stack[BACKTRACE_STACK_SIZE];
|
||||
size_t backtrace_size;
|
||||
@ -1470,6 +1469,8 @@ void smb_panic(const char *why)
|
||||
DEBUG(0, ("BACKTRACE: %d stack frames:\n", backtrace_size));
|
||||
|
||||
if (backtrace_strings) {
|
||||
int i;
|
||||
|
||||
for (i = 0; i < backtrace_size; i++)
|
||||
DEBUGADD(0, (" #%u %s\n", i, backtrace_strings[i]));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user