diff options
| author | Hauke Mehrtens | 2019-06-17 13:17:52 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2019-06-17 13:19:38 +0000 |
| commit | c057e177ace7704a3d4e2e1272baaf2e2d21cbed (patch) | |
| tree | a3196ee530cc726683839585d82735df137a670f | |
| parent | 41e4163b2e7f4c1c1f51cdfa487d6052ff859cf2 (diff) | |
| download | urngd-c057e177ace7704a3d4e2e1272baaf2e2d21cbed.tar.gz | |
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 <hauke@hauke-m.de>
| -rw-r--r-- | urngd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |