aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/urngd/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/urngd/patches')
-rw-r--r--package/system/urngd/patches/001-fix-compile.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/system/urngd/patches/001-fix-compile.patch b/package/system/urngd/patches/001-fix-compile.patch
new file mode 100644
index 0000000000..c9ab6857bb
--- /dev/null
+++ b/package/system/urngd/patches/001-fix-compile.patch
@@ -0,0 +1,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);