diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-15 01:24:38 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-02-15 01:24:38 +0200 |
commit | 577dbe94496479256311a8c84909c36123b7a406 (patch) | |
tree | 0da15d70575595e4c6e852514c2b1df129cbe05d /src/plugin_proc.c | |
parent | 066e6219897943550489d89a745ffe34e388677a (diff) |
allow netdata to be easily relocatable
Diffstat (limited to 'src/plugin_proc.c')
-rw-r--r-- | src/plugin_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugin_proc.c b/src/plugin_proc.c index 9fdb016fcb..215925a58e 100644 --- a/src/plugin_proc.c +++ b/src/plugin_proc.c @@ -157,7 +157,7 @@ int get_numa_node_count(void) numa_node_count = 0; char name[FILENAME_MAX + 1]; - snprintfz(name, FILENAME_MAX, "%s%s", global_host_prefix, "/sys/devices/system/node"); + snprintfz(name, FILENAME_MAX, "%s%s", netdata_configured_host_prefix, "/sys/devices/system/node"); char *dirname = config_get("plugin:proc:/sys/devices/system/node", "directory to monitor", name); DIR *dir = opendir(dirname); |