summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-08 16:27:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-08 16:27:08 +0000
commit81581f9719bc56f01d5aa08952671d65fda9867a (patch)
tree0f5c6b6138bf169c23c9d24b1fc0a3521385cb18 /collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c
parentReleasing debian version 1.38.1-1. (diff)
downloadnetdata-81581f9719bc56f01d5aa08952671d65fda9867a.tar.xz
netdata-81581f9719bc56f01d5aa08952671d65fda9867a.zip
Merging upstream version 1.39.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c')
-rw-r--r--collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c b/collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c
index a04d43039..b32597bc4 100644
--- a/collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c
+++ b/collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c
@@ -17,7 +17,7 @@ int do_proc_sys_kernel_random_entropy_avail(int update_every, usec_t dt) {
ff = procfile_readall(ff);
if(unlikely(!ff)) return 0; // we return 0, so that we will retry to open it next time
- unsigned long long entropy = str2ull(procfile_lineword(ff, 0, 0));
+ unsigned long long entropy = str2ull(procfile_lineword(ff, 0, 0), NULL);
static RRDSET *st = NULL;
static RRDDIM *rd = NULL;