diff options
author | Heikki Kallasjoki <fis@zem.fi> | 2018-12-07 01:48:33 +0000 |
---|---|---|
committer | Heikki Kallasjoki <fis+github@zem.fi> | 2018-12-07 01:52:49 +0000 |
commit | 16d61af28bcd07348117fd457b62ff39c1a0b45d (patch) | |
tree | 5e7ca99f70c488a4ca96d1407c795d312558553f /scrape.c | |
parent | f5c20e9c9b46ac6efe3c3948302e4e20718a5968 (diff) | |
download | nano-exporter-16d61af28bcd07348117fd457b62ff39c1a0b45d.tar.gz nano-exporter-16d61af28bcd07348117fd457b62ff39c1a0b45d.tar.xz nano-exporter-16d61af28bcd07348117fd457b62ff39c1a0b45d.zip |
Include newline as delimiter when splitting /proc/diskstats.
Fixes #5. Splitting by space only caused the newline to end up as part of the last column, which was then ignored since the newline was considered trailing non-numeric data when parsing the value.
Diffstat (limited to 'scrape.c')
0 files changed, 0 insertions, 0 deletions