diff --git a/configure b/configure index e30360edf25d..f9064dd52bb8 100755 --- a/configure +++ b/configure @@ -14418,7 +14418,7 @@ main (void) { void *sym[1]; - backtrace_symbols(&sym, sizeof(sym)) + backtrace_symbols(sym, sizeof(sym)) ; return 0; } diff --git a/configure.ac b/configure.ac index 7d75c5cc3c14..14287b5e5137 100644 --- a/configure.ac +++ b/configure.ac @@ -2163,7 +2163,7 @@ if test "x$ac_cv_header_execinfo_h" = "xyes"; then #include ]], [[ void *sym[1]; - backtrace_symbols(&sym, sizeof(sym)) ]])],[ + backtrace_symbols(sym, sizeof(sym)) ]])],[ AC_MSG_RESULT(yes) ac_cv_lib_execinfo_backtrace_symbols="yes" ],[