mirror of https://github.com/BOINC/boinc.git
Fix for FCGI compile problem in lib/filesys.cpp
This commit is contained in:
parent
ff53e509cf
commit
ed4daff659
|
@ -834,7 +834,11 @@ int get_filesystem_info(double &total_space, double &free_space, char* path) {
|
||||||
|
|
||||||
int retval = STATFS(path, &fs_info);
|
int retval = STATFS(path, &fs_info);
|
||||||
if (retval) {
|
if (retval) {
|
||||||
|
#ifndef _USING_FCGI_
|
||||||
perror("statvfs");
|
perror("statvfs");
|
||||||
|
#else
|
||||||
|
FCGI::perror("statvfs");
|
||||||
|
#endif
|
||||||
return ERR_STATFS;
|
return ERR_STATFS;
|
||||||
}
|
}
|
||||||
#if HAVE_SYS_STATVFS_H
|
#if HAVE_SYS_STATVFS_H
|
||||||
|
|
Loading…
Reference in New Issue