projects
/
project
/
urngd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41e4163
)
Fix wrong type in format string
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 17 Jun 2019 13:17:52 +0000
(15:17 +0200)
committer
Petr Štetiar
<ynezz@true.cz>
Mon, 17 Jun 2019 13:19:38 +0000
(15:19 +0200)
GCC 9.1 complains about this wrong type used in the format string, fix
this to make the compiler happy.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
urngd.c
patch
|
blob
|
history
diff --git
a/urngd.c
b/urngd.c
index f57a162aa039c7485735d919b8c97155b721880d..306420a397dcc67db67cb44709bd4926a46d8a45 100644
(file)
--- a/
urngd.c
+++ b/
urngd.c
@@
-114,7
+114,7
@@
static size_t gather_entropy(struct urngd *u)
ret = write_entropy(u, buf, sizeof(buf), ENTROPYBYTES);
if (sizeof(buf) != ret) {
- ERROR("injected %
lub 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);