diff options
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r-- | gprof/corefile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c index 4aec15c..243a600 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -1,6 +1,6 @@ /* corefile.c - Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007 + Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -427,7 +427,8 @@ get_src_info (bfd_vma addr, const char **filename, const char **name, int *line_ else { DBG (AOUTDEBUG, printf ("[get_src_info] no info for 0x%lx (%s:%d,%s)\n", - (long) addr, fname ? fname : "<unknown>", l, + (unsigned long) addr, + fname ? fname : "<unknown>", l, func_name ? func_name : "<unknown>")); return FALSE; } |