summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2019-05-16 16:25:15 +0000
committerJoe Orton <jorton@apache.org>2019-05-16 16:25:15 +0000
commit39c1e22fe535ab0ee0134539c3fcc6b08529e2a6 (patch)
tree1cfc9b36ced1cd65679f8499f10dd74e2530a549
parente2af2e67aa91f4f22b9d5a1f6808c8de828c12fc (diff)
downloadapr-39c1e22fe535ab0ee0134539c3fcc6b08529e2a6.tar.gz
* test/testbuckest.c (flatten_match): Fix error message (thanks to gcc warning).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859391 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/testbuckets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testbuckets.c b/test/testbuckets.c
index 077a13936..31bed0c1b 100644
--- a/test/testbuckets.c
+++ b/test/testbuckets.c
@@ -105,7 +105,7 @@ static void flatten_match(abts_case *tc, const char *ctx,
sprintf(msg, "%s: length match (%ld not %ld)", ctx,
(long)len, (long)elen);
ABTS_ASSERT(tc, msg, len == elen);
- sprintf(msg, "%s: result match", msg);
+ sprintf(msg, "%s: result match", ctx);
ABTS_STR_NEQUAL(tc, expect, buf, len);
free(buf);
}