From c057e177ace7704a3d4e2e1272baaf2e2d21cbed Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 17 Jun 2019 15:17:52 +0200 Subject: [PATCH] Fix wrong type in format string GCC 9.1 complains about this wrong type used in the format string, fix this to make the compiler happy. Signed-off-by: Hauke Mehrtens --- urngd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urngd.c b/urngd.c index f57a162..306420a 100644 --- a/urngd.c +++ b/urngd.c @@ -114,7 +114,7 @@ static size_t gather_entropy(struct urngd *u) ret = write_entropy(u, buf, sizeof(buf), ENTROPYBYTES); if (sizeof(buf) != ret) { - ERROR("injected %lub of entropy, less then %db expected\n", + ERROR("injected %zub of entropy, less then %zub expected\n", ret, sizeof(buf)); } else { ret = sizeof(buf); -- 2.30.2