1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 13:39:10 +00:00

s/substract/subtract/

This commit is contained in:
Pavel Labath 2010-02-28 14:05:28 +01:00
parent 6382d8cd34
commit 2ad1809f87
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

@ -186,7 +186,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;