From 8fb48feb5024d2aa9083690e472f1b1072cb8169 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 8 Nov 2004 14:48:52 +0000 Subject: getdir related API change --- example/fusexmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/fusexmp.c') diff --git a/example/fusexmp.c b/example/fusexmp.c index 9b86a4c..57045be 100644 --- a/example/fusexmp.c +++ b/example/fusexmp.c @@ -49,7 +49,7 @@ static int xmp_readlink(const char *path, char *buf, size_t size) } -static int xmp_getdir(const char *path, fuse_dirh_t h, fuse_dirfil_t filler) +static int xmp_getdir(const char *path, fuse_dirh_t h, fuse_dirfil2_t filler) { DIR *dp; struct dirent *de; @@ -60,7 +60,7 @@ static int xmp_getdir(const char *path, fuse_dirh_t h, fuse_dirfil_t filler) return -errno; while((de = readdir(dp)) != NULL) { - res = filler(h, de->d_name, de->d_type); + res = filler(h, de->d_name, de->d_type, de->d_ino); if(res != 0) break; } -- cgit v1.2.3