From cd4377fab21e0f500bef7f06543fa848a039c1e0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 20 Jul 2023 06:50:01 +0200 Subject: Merging upstream version 1.41.0. Signed-off-by: Daniel Baumann --- collectors/debugfs.plugin/debugfs_zswap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'collectors/debugfs.plugin/debugfs_zswap.c') diff --git a/collectors/debugfs.plugin/debugfs_zswap.c b/collectors/debugfs.plugin/debugfs_zswap.c index a2991b9f1..c8fc0f030 100644 --- a/collectors/debugfs.plugin/debugfs_zswap.c +++ b/collectors/debugfs.plugin/debugfs_zswap.c @@ -251,7 +251,7 @@ int zswap_collect_data(struct netdata_zswap_metric *metric) snprintfz(filename, FILENAME_MAX, "%s%s", netdata_configured_host_prefix, metric->filename); if (read_single_number_file(filename, (unsigned long long *)&metric->value)) { - error("Cannot read file %s", filename); + netdata_log_error("Cannot read file %s", filename); return 1; } @@ -383,7 +383,7 @@ int do_debugfs_zswap(int update_every, const char *name) static int check_if_enabled = 1; if (likely(check_if_enabled && debugfs_is_zswap_enabled())) { - info("Zswap is disabled"); + netdata_log_info("Zswap is disabled"); return 1; } -- cgit v1.2.3