summaryrefslogtreecommitdiff
path: root/arscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'arscan.c')
-rw-r--r--arscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arscan.c b/arscan.c
index 4f6bed7..27df1ce 100644
--- a/arscan.c
+++ b/arscan.c
@@ -306,7 +306,7 @@ ar_name_equal (name, mem)
&& mem[memlen - 2] == '.' && mem[memlen - 1] == 'o')
return 1;
- return !strncmp (name + max - 3, mem + max - 3);
+ return !strcmp (name + max - 3, mem + max - 3);
#else /* AIX or APOLLO. */