Make $fs_used_perc and $fs_bar report used space correctly
authorPavel Labath <pavelo@centrum.sk>
Thu, 12 Aug 2010 18:41:28 +0000 (20:41 +0200)
committerPavel Labath <pavelo@centrum.sk>
Thu, 12 Aug 2010 18:41:28 +0000 (20:41 +0200)
commit472a80be90ddc43d3d4ef2f0834599dae98e0e26
tree03577b76a593e0d3165287a856fce1263b38ef24
parentad4f12281bfd6e26505956f395ee650dba2a77e8
Make $fs_used_perc and $fs_bar report used space correctly

they reported fs->size - fs->avail, which is not correct if fs has super-user reserved blocks.

note that now $fs_used_perc and $fs_free_perc need not add up to 100%, but that is consistent
with what $fs_used and $fs_free do.
src/fs.c