The man page for statfs64 (and fstatfs64) specifies the prototype for the call to be
long statfs64 (const char *path, size_t sz, struct statfs64 *buf);
long fstatfs64 (unsigned int fd, size_t sz, struct statfs64 *buf);
This is incorrect as the function does not take a "size_t sz" parameter.
Also, it would be nice if the man page listed the required header files (sys/statfs.h in this case).
This bug also applies to Fedora 11.
I just fix the problem in devel branch (man-pages-3.22-5) - remove the man page and add there link to statfs man page (this solution is in upstream man-pages now). Are you ok with this change (the same can be done in RH5).
Yup, that sees fine. Does this also include updating the statfs man page to include statfs64 (thus documenting all four variants at once), which would be the ideal?
No there is only a short notice about (f)statfs64? There is no relevant documentation yet.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.