NetBSD uses statvfs for the functionality of statfs on Linux
This commit is contained in:
committed by
Robin Gareus
parent
1ac7dad84e
commit
9d3077bd03
@@ -116,7 +116,11 @@ mountpoint (string path)
|
||||
string
|
||||
mountpoint (string path)
|
||||
{
|
||||
#if defined(__NetBSD__)
|
||||
struct statvfs *mntbufp = 0;
|
||||
#else
|
||||
struct statfs *mntbufp = 0;
|
||||
#endif
|
||||
int count;
|
||||
unsigned int maxmatch = 0;
|
||||
unsigned int matchlen;
|
||||
|
||||
Reference in New Issue
Block a user