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:
parent
27bb931e41
commit
966a05a984
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user