diff options
Diffstat (limited to 'sysdeps/generic/backtracesyms.c')
-rw-r--r-- | sysdeps/generic/backtracesyms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/backtracesyms.c b/sysdeps/generic/backtracesyms.c index 76019ee..7798883 100644 --- a/sysdeps/generic/backtracesyms.c +++ b/sysdeps/generic/backtracesyms.c @@ -1,5 +1,5 @@ /* Return list with names for address in backtrace. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -37,8 +37,8 @@ __backtrace_symbols (array, size) char **result; /* We can compute the text size needed for the symbols since we print - them all as "[%<addr>]". */ - total = size * (WORD_WIDTH + 3); + them all as "[+0x<addr>]". */ + total = size * (WORD_WIDTH + 6); /* Allocate memory for the result. */ result = malloc (size * sizeof (char *) + total); |