summaryrefslogtreecommitdiff
path: root/Utility/libdiskfree.c
Commit message (Collapse)AuthorAge
* tweakGravatar Joey Hess2012-04-18
|
* clear errno after successful callGravatar Joey Hess2012-04-18
| | | | | | | | 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.
* Renamed diskfree.c to avoid OSX case insensativity bug.Gravatar Joey Hess2012-04-13