s/substract/subtract/
authorPavel Labath <pavelo@centrum.sk>
Sun, 28 Feb 2010 13:05:28 +0000 (14:05 +0100)
committerPavel Labath <pavelo@centrum.sk>
Sun, 28 Feb 2010 13:06:05 +0000 (14:06 +0100)
doc/config_settings.xml
src/diskio.c

index ef86824..0467ec1 100644 (file)
                 <option>no_buffers</option>
             </command>
         </term>
-        <listitem>Substract (file system) buffers from used memory?
+        <listitem>Subtract (file system) buffers from used memory?
         
         <para /></listitem>
     </varlistentry>
index 0ca8502..b0986cc 100644 (file)
@@ -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;