From e6a220b3a7e024b5fbffc322600eef9948671562 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sun, 28 Feb 2010 14:05:28 +0100 Subject: [PATCH] s/substract/subtract/ --- doc/config_settings.xml | 2 +- src/diskio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/config_settings.xml b/doc/config_settings.xml index ef86824f..0467ec1a 100644 --- a/doc/config_settings.xml +++ b/doc/config_settings.xml @@ -559,7 +559,7 @@ - Substract (file system) buffers from used memory? + Subtract (file system) buffers from used memory? diff --git a/src/diskio.c b/src/diskio.c index 0ca85020..b0986cc9 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;