You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
364 B
Diff
12 lines
364 B
Diff
5 years ago
|
--- 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);
|