@cryptotaxi247 / netdata-1 / commits / d33ea340e

Fix /proc/interrupts parsing

abalabahaha committed Aug 13, 2018 at 13:52 UTC d33ea340eab7004e957276f9257b6b8e5d0a3ae6
1 file changed +1 -1
src/proc_interrupts.c
+1 -1
@@ -61,7 +61,7 @@ int do_proc_interrupts(int update_every, usec_t dt) {
61 if(unlikely(!ff)) {
62 char filename[FILENAME_MAX + 1];
63 snprintfz(filename, FILENAME_MAX, "%s%s", netdata_configured_host_prefix, "/proc/interrupts");
64 - ff = procfile_open(config_get("plugin:proc:/proc/interrupts", "filename to monitor", filename), " \t", PROCFILE_FLAG_DEFAULT);
64 + ff = procfile_open(config_get("plugin:proc:/proc/interrupts", "filename to monitor", filename), " \t:", PROCFILE_FLAG_DEFAULT);
65 }
66 if(unlikely(!ff))
67 return 1;