diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-06-16 18:59:04 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-04 13:13:16 +0200 |
commit | 670fd46b3f6475c751d79ad37c55407791e85942 (patch) | |
tree | 476c5d5d10ab7def20c5cfa6a9446723a4e92ec9 /package | |
parent | 9697f4cf730ad7779d246195f02a289523312cad (diff) | |
download | upstream-670fd46b3f6475c751d79ad37c55407791e85942.tar.gz upstream-670fd46b3f6475c751d79ad37c55407791e85942.tar.bz2 upstream-670fd46b3f6475c751d79ad37c55407791e85942.zip |
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 <hauke@hauke-m.de>
(cherry picked from commit 1ae1276eab1903d194c1a0f8037e7f44304568b1)
Diffstat (limited to 'package')
-rw-r--r-- | package/system/urngd/patches/001-fix-compile.patch | 2 |
1 files changed, 1 insertions, 1 deletions
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); |