1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

Fix diskio_read/write patch sf.net id #2493084 (thanks Alexander).

This commit is contained in:
Alexander Monakov 2009-02-17 22:04:38 -07:00 committed by Brenden Matthews
parent 27bb931e41
commit 966a05a984
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
* add a space between number and the unit in human_readable()
* fix number printing in human_readable()
* network $upspeed and $downspeed now use human_readable()
* Fix diskio_read/write patch sf.net id #2493084 (thanks Alexander)
2009-02-15
* Added out_to_x

View File

@ -4064,11 +4064,11 @@ static void generate_text_internal(char *p, int p_max_size,
p, p_max_size);
}
OBJ(diskio_write) {
human_readable((obj->data.diskio->current / update_interval) * 1024LL,
human_readable((obj->data.diskio->current_read / update_interval) * 1024LL,
p, p_max_size);
}
OBJ(diskio_read) {
human_readable((obj->data.diskio->current / update_interval) * 1024LL,
human_readable((obj->data.diskio->current_write / update_interval) * 1024LL,
p, p_max_size);
}
OBJ(diskiograph) {