X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fload.c;h=da7fe58ff835516a405bf0c5355f0e5eece3d882;hb=4436eed7d1b5e841a87604de85ff0267dfd1a631;hp=4bc93d5ec72430d3f7f2116d83bcb73efeb7f8bb;hpb=f25d207699e013bb47c0083fe56b8358a98f6f4d;p=collectd.git diff --git a/src/load.c b/src/load.c index 4bc93d5e..da7fe58f 100644 --- a/src/load.c +++ b/src/load.c @@ -28,8 +28,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #include @@ -63,7 +63,7 @@ static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); static int load_config(const char *key, const char *value) { if (strcasecmp(key, "ReportRelative") == 0) #ifdef _SC_NPROCESSORS_ONLN - report_relative_load = IS_TRUE(value) ? 1 : 0; + report_relative_load = IS_TRUE(value); #else WARNING("load plugin: The \"ReportRelative\" configuration " "is not available, because I can't determine the "