Avoid a compilation warning
This commit is contained in:
parent
1361896c8f
commit
1c67ae9260
|
@ -398,7 +398,7 @@ static void _list_add(Volumes * volumes, char const * name, char const * device,
|
||||||
fraction = total - free;
|
fraction = total - free;
|
||||||
fraction = fraction / total;
|
fraction = fraction / total;
|
||||||
f = fraction * 100;
|
f = fraction * 100;
|
||||||
snprintf(buf, sizeof(buf), "%.1lf%%", fraction * 100.0);
|
snprintf(buf, sizeof(buf), "%.1f%%", fraction * 100.0);
|
||||||
}
|
}
|
||||||
_list_add_size(buf2, sizeof(buf2), bsize, total);
|
_list_add_size(buf2, sizeof(buf2), bsize, total);
|
||||||
_list_get_iter(volumes, &iter, mountpoint);
|
_list_get_iter(volumes, &iter, mountpoint);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user