Set static bools to true instead of 1
[collectd.git] / src / hugepages.c
index 9515046..adfc5bb 100644 (file)
 
 static const char g_plugin_name[] = "hugepages";
 
-static bool g_flag_rpt_numa = 1;
-static bool g_flag_rpt_mm = 1;
+static bool g_flag_rpt_numa = true;
+static bool g_flag_rpt_mm = true;
 
-static bool g_values_pages = 1;
-static bool g_values_bytes = 0;
-static bool g_values_percent = 0;
+static bool g_values_pages = true;
+static bool g_values_bytes;
+static bool g_values_percent;
 
 #define HP_HAVE_NR 0x01
 #define HP_HAVE_SURPLUS 0x02