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

Apply fs stat changes to fs_free_perc also (thanks Cesare).

This commit is contained in:
Brenden Matthews 2009-06-11 01:28:11 -06:00
parent 8e55089537
commit 357901e6f2

View File

@ -4350,7 +4350,7 @@ static void generate_text_internal(char *p, int p_max_size,
int val = 0;
if (obj->data.fs->size) {
val = obj->data.fs->free * 100 / obj->data.fs->size;
val = obj->data.fs->avail * 100 / obj->data.fs->size;
}
percent_print(p, p_max_size, val);