diff options
Diffstat (limited to 'diskstats.c')
-rw-r--r-- | diskstats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diskstats.c b/diskstats.c index 81231aa..9e4ecd1 100644 --- a/diskstats.c +++ b/diskstats.c @@ -106,7 +106,7 @@ static void diskstats_collect(scrape_req *req, void *ctx_ptr) { // emit metrics for all known columns of /proc/diskstats for included devices - f = fopen("/proc/diskstats", "r"); + f = fopen(PATH("/proc/diskstats"), "r"); if (!f) return; |