aboutsummaryrefslogtreecommitdiff
path: root/bfd/osf-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/osf-core.c')
-rw-r--r--bfd/osf-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/osf-core.c b/bfd/osf-core.c
index 17cc532..9997967 100644
--- a/bfd/osf-core.c
+++ b/bfd/osf-core.c
@@ -84,7 +84,7 @@ osf_core_core_file_p (bfd *abfd)
if (val != sizeof core_header)
return NULL;
- if (! CONST_STRNEQ (core_header.magic, "Core"))
+ if (! startswith (core_header.magic, "Core"))
return NULL;
core_hdr (abfd) = (struct osf_core_struct *)