diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-20 18:29:46 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-20 18:29:46 +0000 |
commit | a3e273b7bd4d80e3ff8ccfca8e1ed5a0cc813d55 (patch) | |
tree | d260977b74f4e7bf6615a2c171773788918e7dcf /main/logger.c | |
parent | 9bf87d6ef0f763328be7f5756b64d754e4e37894 (diff) |
Resolve 1.6.0 compilation issues on FreeBSD.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@253630 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/logger.c')
-rw-r--r-- | main/logger.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/logger.c b/main/logger.c index 42bc0d84e..1e1b0ab4f 100644 --- a/main/logger.c +++ b/main/logger.c @@ -1094,11 +1094,7 @@ void ast_backtrace(void) if ((strings = backtrace_symbols(addresses, count))) { ast_debug(1, "Got %d backtrace record%c\n", count, count != 1 ? 's' : ' '); for (i = 0; i < count; i++) { -#if __WORDSIZE == 32 - ast_log(LOG_DEBUG, "#%d: [%08X] %s\n", i, (unsigned int)addresses[i], strings[i]); -#elif __WORDSIZE == 64 - ast_log(LOG_DEBUG, "#%d: [%016lX] %s\n", i, (unsigned long)addresses[i], strings[i]); -#endif + ast_log(LOG_DEBUG, "#%d: [%p] %s\n", i, addresses[i], strings[i]); } free(strings); } else { |