X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdisk.c;h=23354a698c35cd380371b81cfac72d0e0c9aa31c;hp=145bde7d50479a23b6ba008dc1a826d3dbe2c283;hb=63539e81140ecb5c7555d06001933ef8963913b7;hpb=22e14ac346039294dd2cdcab0738e14ab5626251 diff --git a/src/disk.c b/src/disk.c index 145bde7d..23354a69 100644 --- a/src/disk.c +++ b/src/disk.c @@ -647,7 +647,8 @@ static int disk_read(void) { } if (devstat_compute_statistics(snap_iter, NULL, 1.0, DSM_TOTAL_BUSY_TIME, &busy_time, DSM_TOTAL_DURATION, - &total_duration, DSM_QUEUE_LENGTH, &queue_length, DSM_NONE) != 0) { + &total_duration, DSM_QUEUE_LENGTH, + &queue_length, DSM_NONE) != 0) { WARNING("%s", devstat_errbuf); } else { submit_io_time(disk_name, busy_time, total_duration);