From: Hauke Mehrtens Date: Mon, 17 Jun 2019 13:17:52 +0000 (+0200) Subject: Fix wrong type in format string X-Git-Tag: v1.0.1~4 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c057e177ace7704a3d4e2e1272baaf2e2d21cbed;p=project%2Furngd.git 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 --- 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);