about summary refs log tree commit diff
path: root/sysdeps/generic/elf/backtracesymsfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/elf/backtracesymsfd.c')
-rw-r--r--sysdeps/generic/elf/backtracesymsfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/elf/backtracesymsfd.c b/sysdeps/generic/elf/backtracesymsfd.c
index 7c93c37ce1..16df53883c 100644
--- a/sysdeps/generic/elf/backtracesymsfd.c
+++ b/sysdeps/generic/elf/backtracesymsfd.c
@@ -1,5 +1,5 @@
 /* Write formatted list with names for addresses in backtrace to a file.
-   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2000, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -48,7 +48,7 @@ __backtrace_symbols_fd (array, size, fd)
       Dl_info info;
       size_t last = 0;
 
-      if (_dl_addr (array[cnt], &info)
+      if (_dl_addr (array[cnt], &info, NULL, NULL)
 	  && info.dli_fname && info.dli_fname[0] != '\0')
 	{
 	  /* Name of the file.  */