1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

include/includes.h:

lib/system.c: Can't assume every system has a statvfs varient.
              Return -1 for those that don't.
smbd/reply.c: Fixed printf warning.
Jeremy.
This commit is contained in:
Jeremy Allison
-
parent c22c40f0ca
commit 14c134e831
3 changed files with 10 additions and 3 deletions

View File

@ -186,8 +186,10 @@ int sys_statvfs( const char *path, SMB_STRUCT_STATVFS *fsd)
{
#if defined(STAT_STATVFS64)
return statvfs64(path, fsd);
#else
#elif defined(STAT_STATVFS)
return statvfs(path, fsd);
#else
return -1;
#endif
}