summaryrefslogtreecommitdiffstats
path: root/bfd/corefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/corefile.c')
-rw-r--r--bfd/corefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/corefile.c b/bfd/corefile.c
index 605be8d33d..bba0d1ca4f 100644
--- a/bfd/corefile.c
+++ b/bfd/corefile.c
@@ -186,6 +186,6 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
if (last_slash != NULL)
exec = last_slash + 1;
- return strcmp (exec, core) == 0;
+ return filename_cmp (exec, core) == 0;
}
OpenPOWER on IntegriCloud