From 52cb09d16ed7e233c35c0c33e72a952211a056b3 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 7 Nov 2005 11:59:00 +0000 Subject: fix up statfs interface --- example/fusexmp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'example/fusexmp.c') diff --git a/example/fusexmp.c b/example/fusexmp.c index 1732556..5a2e9a0 100644 --- a/example/fusexmp.c +++ b/example/fusexmp.c @@ -20,7 +20,6 @@ #include #include #include -#include #ifdef HAVE_SETXATTR #include #endif @@ -258,11 +257,11 @@ static int xmp_write(const char *path, const char *buf, size_t size, return res; } -static int xmp_statfs(const char *path, struct statfs *stbuf) +static int xmp_statfs(const char *path, struct statvfs *stbuf) { int res; - res = statfs(path, stbuf); + res = statvfs(path, stbuf); if(res == -1) return -errno; -- cgit v1.2.3