aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/urngd/patches/001-fix-compile.patch
blob: c9ab6857bb148a668b6417801ff2fc609795f067 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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);