Menu

#115 fs_used_perc, fs_free and fs_free_perc

prerelease
closed-accepted
nobody
Bug fix (69)
5
2009-04-09
2009-04-04
Or Cohen
No

This patch was created while diffing conky-1.7.0-rc2.

I've noticed that sometimes conky shows fs_used_perc which is not the correct value of fs_used/fs_size if you manually calculate it.
This patch addresses this by putting the same condition of fs_used (obj->data.fs->free ? free : avail) in the other three objects: fs_used_perc, fs_free and fs_free_perc.

Discussion

  • Or Cohen

    Or Cohen - 2009-04-04
     
  • Or Cohen

    Or Cohen - 2009-04-04

    Forgot to update, this patch file is for conky-1.7.0-rc2/conky.c
    Sorrt :)

     
  • Brenden Matthews

    • status: open --> closed-accepted
     
  • Brenden Matthews

    Thanks for the patch.

     

Log in to post a comment.

MongoDB Logo MongoDB