diff options
Diffstat (limited to 'libdw/dwarf_getsrc_file.c')
-rw-r--r-- | libdw/dwarf_getsrc_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdw/dwarf_getsrc_file.c b/libdw/dwarf_getsrc_file.c index 5289c7da..03da431c 100644 --- a/libdw/dwarf_getsrc_file.c +++ b/libdw/dwarf_getsrc_file.c @@ -98,7 +98,7 @@ dwarf_getsrc_file (Dwarf *dbg, const char *fname, int lineno, int column, /* Match the name with the name the user provided. */ const char *fname2 = line->files->info[lastfile].name; if (is_basename) - lastmatch = strcmp (basename (fname2), fname) == 0; + lastmatch = strcmp (xbasename (fname2), fname) == 0; else lastmatch = strcmp (fname2, fname) == 0; } |