summaryrefslogtreecommitdiff
path: root/bfd/hpux-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hpux-core.c')
-rw-r--r--bfd/hpux-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/hpux-core.c b/bfd/hpux-core.c
index b3c070c5e2..e8a5e31b1e 100644
--- a/bfd/hpux-core.c
+++ b/bfd/hpux-core.c
@@ -144,7 +144,7 @@ thread_section_p (bfd *abfd ATTRIBUTE_UNUSED,
asection *sect,
void *obj ATTRIBUTE_UNUSED)
{
- return (strncmp (sect->name, ".reg/", 5) == 0);
+ return CONST_STRNEQ (sect->name, ".reg/");
}
/* this function builds a bfd target if the file is a corefile.