projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a1445
)
urngd: Fix more wrong type in format string
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 16 Jun 2019 16:59:04 +0000
(18:59 +0200)
committer
RISCi_ATOM
<bob@bobcall.me>
Fri, 13 Sep 2019 19:45:36 +0000
(15:45 -0400)
Also the other type is worng and causes compile problems on ARM64
platforms.
Fixes:
9b53201d9c53
("urngd: Fix wrong type in format string")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit
1ae1276eab1903d194c1a0f8037e7f44304568b1
)
package/system/urngd/patches/001-fix-compile.patch
patch
|
blob
|
history
diff --git
a/package/system/urngd/patches/001-fix-compile.patch
b/package/system/urngd/patches/001-fix-compile.patch
index c9ab6857bb148a668b6417801ff2fc609795f067..0b08e9917bae09d4fdd5343dad90045c2c3bb2b3 100644
(file)
--- a/
package/system/urngd/patches/001-fix-compile.patch
+++ b/
package/system/urngd/patches/001-fix-compile.patch
@@
-5,7
+5,7
@@
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 %
d
b expected\n",
++ ERROR("injected %zub of entropy, less then %
zu
b expected\n",
ret, sizeof(buf));
} else {
ret = sizeof(buf);