From c4ef05484df942b6cc2037d33dd56cd209d1db9b Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Wed, 10 Dec 2014 20:24:18 +0100 Subject: use correct format types --- src/libsystemd-network/test-dhcp-option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsystemd-network/test-dhcp-option.c') diff --git a/src/libsystemd-network/test-dhcp-option.c b/src/libsystemd-network/test-dhcp-option.c index eac3844f96..46c8c27061 100644 --- a/src/libsystemd-network/test-dhcp-option.c +++ b/src/libsystemd-network/test-dhcp-option.c @@ -344,7 +344,7 @@ static void test_option_set(void) for (i = 0; i < 9; i++) { if (verbose) - printf("%2d: 0x%02x(0x%02x) (options)\n", i, result->options[i], + printf("%2u: 0x%02x(0x%02x) (options)\n", i, result->options[i], options[i]); assert_se(result->options[i] == options[i]); } @@ -363,7 +363,7 @@ static void test_option_set(void) for (i = 0; i < pos - 8; i++) { if (verbose) - printf("%2d: 0x%02x(0x%02x) (sname)\n", i, result->sname[i], + printf("%2u: 0x%02x(0x%02x) (sname)\n", i, result->sname[i], options[i + 9]); assert_se(result->sname[i] == options[i + 9]); } -- cgit v1.2.3-54-g00ecf