From: Alan T. DeKok Date: Fri, 7 Mar 2025 15:06:22 +0000 (-0500) Subject: fix spacing of message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e027687bed47dff43c28e943c0d4c72854454b5;p=thirdparty%2Ffreeradius-server.git fix spacing of message --- diff --git a/src/bin/unit_test_attribute.c b/src/bin/unit_test_attribute.c index 3342e08522..8a6e256def 100644 --- a/src/bin/unit_test_attribute.c +++ b/src/bin/unit_test_attribute.c @@ -364,7 +364,7 @@ static void mismatch_print(command_file_ctx_t *cc, char const *command, ERROR(" got : %.*s", (int) got_len, got); ERROR(" expected : %.*s", (int) expected_len, expected); - ERROR(" %s^ differs here (%zu)", spaces, e - expected); + ERROR(" %.*s^ differs here (%zu)", (int) (e - expected), spaces, e - expected); } else { size_t glen, elen;