* bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as its
[deliverable/binutils-gdb.git] / bfd / osf-core.c
index 1d3802bf82f3055a239183ebd3b5aad1f12f9178..9bba6e78ddd96785ad0117f1e324be4944d05ae8 100644 (file)
@@ -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 *)
This page took 0.024421 seconds and 4 git commands to generate.