X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fdiskio.c;h=b0986cc90678241f47995420387342031e6bd4a0;hb=e6a220b3a7e024b5fbffc322600eef9948671562;hp=0ca8502079837e87b34b02d55b24ef845df9651b;hpb=72f5aa7ece3226cc0eb106d4fc2aa5886ed7bd6b;p=monky diff --git a/src/diskio.c b/src/diskio.c index 0ca8502..b0986cc 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -214,7 +214,7 @@ void update_diskio_values(struct diskio_stat *ds, ds->last_read = reads; ds->last_write = writes; } - /* since the values in /proc/diskstats are absolute, we have to substract + /* since the values in /proc/diskstats are absolute, we have to subtract * our last reading. The numbers stand for "sectors read", and we therefore * have to divide by two to get KB */ ds->sample_read[0] = (reads - ds->last_read) / 2;