summaryrefslogtreecommitdiffstats
path: root/libdwfl/dwfl_module_getsrc_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdwfl/dwfl_module_getsrc_file.c')
-rw-r--r--libdwfl/dwfl_module_getsrc_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdwfl/dwfl_module_getsrc_file.c b/libdwfl/dwfl_module_getsrc_file.c
index 513af6b8..fc144225 100644
--- a/libdwfl/dwfl_module_getsrc_file.c
+++ b/libdwfl/dwfl_module_getsrc_file.c
@@ -103,7 +103,7 @@ dwfl_module_getsrc_file (Dwfl_Module *mod,
{
/* Match the name with the name the user provided. */
lastfile = file;
- lastmatch = !strcmp (is_basename ? basename (file) : file,
+ lastmatch = !strcmp (is_basename ? xbasename (file) : file,
fname);
}
}