diff options
author | Jan Janssen <medhefgo@web.de> | 2022-08-29 13:07:11 +0200 |
---|---|---|
committer | Jan Janssen <medhefgo@web.de> | 2022-08-30 12:03:28 +0200 |
commit | c0f86d66f3f6b561528e7f856f9926bec766c036 (patch) | |
tree | b5b17ffb3a41a7974ff0ad35db009b4f8aa94116 /src/test/test-escape.c | |
parent | Merge pull request #24474 from yuwata/udevadm-settle-cleanups (diff) | |
download | systemd-c0f86d66f3f6b561528e7f856f9926bec766c036.tar.xz systemd-c0f86d66f3f6b561528e7f856f9926bec766c036.zip |
tree-wide: Use correct format specifiers
gcc will complain about all these with -Wformat-signedness.
Diffstat (limited to 'src/test/test-escape.c')
-rw-r--r-- | src/test/test-escape.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-escape.c b/src/test/test-escape.c index 214190e134..da19272624 100644 --- a/src/test/test-escape.c +++ b/src/test/test-escape.c @@ -33,7 +33,7 @@ static void test_xescape_full_one(bool eight_bits) { assert_se(t = xescape_full("abc\\\"\b\f\n\r\t\v\a\003\177\234\313", "b", i, flags)); - log_info("%02d: <%s>", i, t); + log_info("%02u: <%s>", i, t); if (i >= full_fit) assert_se(streq(t, escaped)); @@ -51,7 +51,7 @@ static void test_xescape_full_one(bool eight_bits) { assert_se(q = xescape_full("abc\\\"\b\f\n\r\t\v\a\003\177\234\313", "b", i, flags | XESCAPE_FORCE_ELLIPSIS)); - log_info("%02d: <%s>", i, q); + log_info("%02u: <%s>", i, q); if (i > 0) assert_se(endswith(q, ".")); assert_se(strlen(q) <= i); |