diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-18 13:17:30 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-18 13:22:50 -0400 |
commit | d75771b0ab88ebec9b573fb1b3ef257e3b19c3ef (patch) | |
tree | f723ee71049bf8ca79dde4f5bcd957c1069e0c59 /Utility/DiskFree.hs | |
parent | f08943016708f8d4f25c557f255ef81e387bc522 (diff) |
clear errno after successful call
When preparing the debian stable backport, I am seeing a call to statvfs()
succeed, but also set errno to 2 (ENOENT). Not sure why this happens;
I am in a schroot when it does happen, or perhaps stable's libc is a little
broken and sets errno incorrectly. Anyway, it should be perfectly fine to
clear errno after the successful call, rather than before it.
Diffstat (limited to 'Utility/DiskFree.hs')
0 files changed, 0 insertions, 0 deletions