hsflowd: fix compile for x86+uClibc

Remove another call to backtrace_symbols_fd to make hsflowd compile
for x86+uClibc targets.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32437 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2012-06-18 23:40:36 +00:00
parent 2c2c4f06d3
commit 25e5aa6669

View File

@ -15,7 +15,15 @@
fflush(f_crash);
// Do something useful with siginfo_t
if (sig == SIGSEGV) {
@@ -2005,7 +2004,6 @@ extern "C" {
@@ -1430,7 +1429,6 @@ extern "C" {
// overwrite sigaction with caller's address
backtracePtrs[1] = (void *)(((ucontext_t *)secret)->uc_mcontext.gregs[REG_EIP]);
// then write again:
- backtrace_symbols_fd(backtracePtrs, siz, fileno(f_crash));
fflush(f_crash);
#endif
// exit with the original signal so we get the right idea
@@ -2005,7 +2003,6 @@ extern "C" {
if(debug) {
myLog(LOG_INFO, "initAgent suceeded");
// print some stats to help us size HSP_RLIMIT_MEMLOCK etc.