diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-12-26 12:03:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-12-26 12:03:45 +0000 |
| commit | 4986df7eeb4705afa4645a16c10f35ff9cd9280f (patch) | |
| tree | a822da7803654a49f985bf0b195df64ec516cf26 /tests/test-config.c | |
| parent | Merge branch 'term-erase-refactor' (diff) | |
test: config: fix format specifier: uint32_t needs %u, not %hu
Diffstat (limited to 'tests/test-config.c')
| -rw-r--r-- | tests/test-config.c | 2 |
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); } |
