summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2021-05-13 16:23:47 +0200
committerGitHub <noreply@github.com>2021-05-13 17:23:47 +0300
commitf4dc20e1c190d94ae64b2b94dac2f9b39827e7c9 (patch)
tree742c75d0ceb7446630f39cd4782985eb69cd912e
parent07a9fd07631135fb2025169ab3c1e68f07c28f81 (diff)
Use size_t instead of int for vfs_bufspace_count in FreeBSD plugin (#11142)
-rw-r--r--collectors/freebsd.plugin/freebsd_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/freebsd.plugin/freebsd_sysctl.c b/collectors/freebsd.plugin/freebsd_sysctl.c
index 00898cd900..7d48e76dc0 100644
--- a/collectors/freebsd.plugin/freebsd_sysctl.c
+++ b/collectors/freebsd.plugin/freebsd_sysctl.c
@@ -969,7 +969,7 @@ int do_system_ram(int update_every, usec_t dt) {
static int mib_active_count[4] = {0, 0, 0, 0}, mib_inactive_count[4] = {0, 0, 0, 0}, mib_wire_count[4] = {0, 0, 0, 0},
mib_cache_count[4] = {0, 0, 0, 0}, mib_vfs_bufspace[2] = {0, 0}, mib_free_count[4] = {0, 0, 0, 0};
vmmeter_t vmmeter_data;
- int vfs_bufspace_count;
+ size_t vfs_bufspace_count;
#if defined(NETDATA_COLLECT_LAUNDRY)
static int mib_laundry_count[4] = {0, 0, 0, 0};