libstatgrab: fix sg_get_disk_io_stats() invocation for libstatgrab >= 0.9
authorVincent Bernat <vincent@bernat.im>
Thu, 13 Nov 2014 16:57:46 +0000 (17:57 +0100)
committerVincent Bernat <vincent@bernat.im>
Thu, 13 Nov 2014 16:57:46 +0000 (17:57 +0100)
commitc963d35fb88b7db81fcf6e3db51313d9002e17b4
tree7e0dd9c241aded6be6e0c64c886035bb4dc28fde
parent2233e6a537fb0a197881a17779503b8279125381
libstatgrab: fix sg_get_disk_io_stats() invocation for libstatgrab >= 0.9

In those versions, `sg_get_disk_io_stats()` need to be invoked a pointer
to size_t instead of pointer to int. Such a requirement is detected at
configure-time.

Fixes: #445
configure.ac
src/disk.c