From: Hauke Mehrtens Date: Sun, 16 Jun 2019 16:59:04 +0000 (+0200) Subject: urngd: Fix more wrong type in format string X-Git-Tag: v1.5.0-rc2~163 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be534a56c530a9158c81b8516100dd22a82a6bd1;p=librecmc%2Flibrecmc.git urngd: Fix more wrong type in format string 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 (cherry picked from commit 1ae1276eab1903d194c1a0f8037e7f44304568b1) --- diff --git a/package/system/urngd/patches/001-fix-compile.patch b/package/system/urngd/patches/001-fix-compile.patch index c9ab6857bb..0b08e9917b 100644 --- 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 %db expected\n", ++ ERROR("injected %zub of entropy, less then %zub expected\n", ret, sizeof(buf)); } else { ret = sizeof(buf);