projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e14ac
)
Fix formating
author
Nathan Huff (Admin)
<nrhuff@bsdpkgr.ahc.umn.edu>
Wed, 25 Jul 2018 20:16:38 +0000
(15:16 -0500)
committer
Nathan Huff (Admin)
<nrhuff@bsdpkgr.ahc.umn.edu>
Wed, 25 Jul 2018 20:16:38 +0000
(15:16 -0500)
src/disk.c
patch
|
blob
|
history
diff --git
a/src/disk.c
b/src/disk.c
index
145bde7
..
23354a6
100644
(file)
--- 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);