aboutsummaryrefslogtreecommitdiff
path: root/procps/iostat.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/iostat.c')
-rw-r--r--procps/iostat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/procps/iostat.c b/procps/iostat.c
index 5d829861e..a9ff13a05 100644
--- a/procps/iostat.c
+++ b/procps/iostat.c
@@ -18,14 +18,14 @@
18//config: Report CPU and I/O statistics 18//config: Report CPU and I/O statistics
19 19
20#include "libbb.h" 20#include "libbb.h"
21#include <sys/utsname.h> /* Need struct utsname */ 21#include <sys/utsname.h> /* Need struct utsname */
22 22
23//#define debug(fmt, ...) fprintf(stderr, fmt, ## __VA_ARGS__) 23//#define debug(fmt, ...) fprintf(stderr, fmt, ## __VA_ARGS__)
24#define debug(fmt, ...) ((void)0) 24#define debug(fmt, ...) ((void)0)
25 25
26#define MAX_DEVICE_NAME 12 26#define MAX_DEVICE_NAME 12
27#define CURRENT 0 27#define CURRENT 0
28#define LAST 1 28#define LAST 1
29 29
30#if 1 30#if 1
31typedef unsigned long long cputime_t; 31typedef unsigned long long cputime_t;
@@ -327,7 +327,7 @@ static void do_disk_statistics(cputime_t itv)
327 int i = 0; 327 int i = 0;
328 char buf[128]; 328 char buf[128];
329 unsigned major, minor; 329 unsigned major, minor;
330 unsigned long wr_ops, dummy; /* %*lu for suppres the conversion wouldn't work */ 330 unsigned long wr_ops, dummy; /* %*lu for suppress the conversion wouldn't work */
331 unsigned long long rd_sec_or_wr_ops; 331 unsigned long long rd_sec_or_wr_ops;
332 unsigned long long rd_sec_or_dummy, wr_sec_or_dummy, wr_sec; 332 unsigned long long rd_sec_or_dummy, wr_sec_or_dummy, wr_sec;
333 struct stats_dev sd; 333 struct stats_dev sd;