]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/collectd-4.10-disk-plugin-fields.patch
collectd: Use libstatgrab for reading disk stats
[people/pmueller/ipfire-2.x.git] / src / patches / collectd-4.10-disk-plugin-fields.patch
1 diff --git a/src/disk.c b/src/disk.c
2 index 4a78f1bd..c6f9e4bd 100644
3 --- a/src/disk.c
4 +++ b/src/disk.c
5 @@ -428,7 +428,7 @@ static int disk_read (void)
6 IOObjectRelease (disk_list);
7 /* #endif HAVE_IOKIT_IOKITLIB_H */
8
9 -#elif KERNEL_LINUX
10 +#elif 0
11 FILE *fh;
12 char buffer[1024];
13