X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fhugepages.c;h=adfc5bb4d92034e249d3e17e53a0e8f53493a876;hb=4e89060ceb1a14ec7f9abfe9caa6b0da7e76bd5c;hp=29a7f9e0ace362d7f04085676053008f1e5845ed;hpb=7ef225022164d12f4560d03789c9d418b442d4cf;p=collectd.git diff --git a/src/hugepages.c b/src/hugepages.c index 29a7f9e0..adfc5bb4 100644 --- a/src/hugepages.c +++ b/src/hugepages.c @@ -35,12 +35,12 @@ 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