1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00

s/substract/subtract/

This commit is contained in:
Pavel Labath 2010-02-28 14:05:28 +01:00
parent ba06e0acad
commit 1dc3870c8a
2 changed files with 2 additions and 2 deletions

View File

@ -559,7 +559,7 @@
<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>

View 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;