summaryrefslogtreecommitdiffstats
path: root/tests/elfputzdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/elfputzdata.c')
-rw-r--r--tests/elfputzdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/elfputzdata.c b/tests/elfputzdata.c
index 67c60908..66ab77ba 100644
--- a/tests/elfputzdata.c
+++ b/tests/elfputzdata.c
@@ -83,7 +83,7 @@ main (int argc, char *argv[])
printf ("Cannot compress %zd %s\n", idx, name);
}
else if ((shdr->sh_flags & SHF_COMPRESSED) != 0
- || strncmp (name, ".zdebug", strlen (".zdebug") == 0))
+ || strncmp (name, ".zdebug", strlen (".zdebug")) == 0)
{
printf ("Already compressed %zd %s\n", idx, name);
}