aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-26 12:03:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-26 12:03:45 +0000
commit4986df7eeb4705afa4645a16c10f35ff9cd9280f (patch)
treea822da7803654a49f985bf0b195df64ec516cf26 /tests
parentMerge branch 'term-erase-refactor' (diff)
test: config: fix format specifier: uint32_t needs %u, not %hu
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index 9bd38cb6..9c69c054 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -211,7 +211,7 @@ test_uint32(struct context *ctx, bool (*parse_fun)(struct context *ctx),
ctx->section, ctx->key, ctx->value);
}
if (*conf_ptr != input[i].value) {
- BUG("[%s].%s=%s: set value (%hu) not the expected one (%hu)",
+ BUG("[%s].%s=%s: set value (%u) not the expected one (%u)",
ctx->section, ctx->key, ctx->value,
*conf_ptr, input[i].value);
}