Hi!
I've just noticed that upstream decided to divide by 1024 in newer
versions of src/fsio.c:
/* In order to return a size in KB, as get_fs_size() does, we need
* to divide by 1024.
*/
*fs_size = (((off_t) fs.f_bavail * (off_t) fs.f_frsize) / 1024);
So they're effectively hiding the bug. I suggest to at least put a
comment before pr_fs_getsize2 that the returned number is in KB, not in
bytes.
Cheers
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]