diff options
Diffstat (limited to 'bfd/osf-core.c')
-rw-r--r-- | bfd/osf-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/osf-core.c b/bfd/osf-core.c index 1d3802bf82f..9bba6e78ddd 100644 --- a/bfd/osf-core.c +++ b/bfd/osf-core.c @@ -94,7 +94,7 @@ osf_core_core_file_p (abfd) if (val != sizeof core_header) return NULL; - if (strncmp (core_header.magic, "Core", 4) != 0) + if (! CONST_STRNEQ (core_header.magic, "Core")) return NULL; core_hdr (abfd) = (struct osf_core_struct *) |