urngd: Fix more wrong type in format string
Also the other type is worng and causes compile problems on ARM64
platforms.
Fixes: 9b53201d9c
("urngd: Fix wrong type in format string")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
1e3800df18
commit
1ae1276eab
@ -5,7 +5,7 @@
|
|||||||
ret = write_entropy(u, buf, sizeof(buf), ENTROPYBYTES);
|
ret = write_entropy(u, buf, sizeof(buf), ENTROPYBYTES);
|
||||||
if (sizeof(buf) != ret) {
|
if (sizeof(buf) != ret) {
|
||||||
- ERROR("injected %lub of entropy, less then %db expected\n",
|
- ERROR("injected %lub of entropy, less then %db expected\n",
|
||||||
+ ERROR("injected %zub of entropy, less then %db expected\n",
|
+ ERROR("injected %zub of entropy, less then %zub expected\n",
|
||||||
ret, sizeof(buf));
|
ret, sizeof(buf));
|
||||||
} else {
|
} else {
|
||||||
ret = sizeof(buf);
|
ret = sizeof(buf);
|
||||||
|
Loading…
Reference in New Issue
Block a user