aboutsummaryrefslogtreecommitdiff
path: root/string/test
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2020-12-30 12:46:03 -0800
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-01-04 12:21:30 +0000
commitd5b36a8a2885c4dea103561059cd3973bef56506 (patch)
treed94365b4371a3671ea4a298bebf33a37b39e9a1f /string/test
parent6695ad5da06a6fbdefffda647f192a784a275315 (diff)
downloadarm-optimized-routines-d5b36a8a2885c4dea103561059cd3973bef56506.tar.gz
string/test: Fix strrchr '\0' error report
The error report was copied from the seekchar test above, and needs adjustment to match the gating IF.
Diffstat (limited to 'string/test')
-rw-r--r--string/test/strrchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/test/strrchr.c b/string/test/strrchr.c
index b968457..cedcb00 100644
--- a/string/test/strrchr.c
+++ b/string/test/strrchr.c
@@ -91,7 +91,7 @@ test (const struct fun *fun, int align, int seekpos, int len)
if (p != s + len)
{
ERR ("%s (%p, 0x%02x) len %d returned %p, expected %p pos %d\n",
- fun->name, s, 0, len, p, f, len);
+ fun->name, s, 0, len, p, s + len, len);
quote ("input", s, len);
}
}