Skip to content
Snippets Groups Projects
Commit 9b53201d authored by Hauke Mehrtens's avatar Hauke Mehrtens
Browse files

urngd: 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: default avatarHauke Mehrtens <hauke@hauke-m.de>
parent 22d3d91c
No related branches found
No related tags found
No related merge requests found
--- a/urngd.c
+++ b/urngd.c
@@ -114,7 +114,7 @@ static size_t gather_entropy(struct urng
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 %db expected\n",
ret, sizeof(buf));
} else {
ret = sizeof(buf);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment