From 745eec145fb23003ac498142b9175d63d6930f0c Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 23 Feb 2009 23:28:12 +0100 Subject: [PATCH] fix 966a05a9848f20a740c5e695d182039ebfe7d2fd --- src/conky.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.c b/src/conky.c index b4072501..a7e1fd0d 100644 --- a/src/conky.c +++ b/src/conky.c @@ -3383,11 +3383,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_read / update_interval) * 1024LL, + human_readable((obj->data.diskio->current_write / update_interval) * 1024LL, p, p_max_size); } OBJ(diskio_read) { - human_readable((obj->data.diskio->current_write / update_interval) * 1024LL, + human_readable((obj->data.diskio->current_read / update_interval) * 1024LL, p, p_max_size); } OBJ(diskiograph) {