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/hello.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'example/hello.c') diff --git a/example/hello.c b/example/hello.c index c7a0c1c..37020b2 100644 --- a/example/hello.c +++ b/example/hello.c @@ -35,14 +35,14 @@ static int hello_getattr(const char *path, struct stat *stbuf) return res; } -static int hello_getdir(const char *path, fuse_dirh_t h, fuse_dirfil_t filler) +static int hello_getdir(const char *path, fuse_dirh_t h, fuse_dirfil2_t filler) { if(strcmp(path, "/") != 0) return -ENOENT; - filler(h, ".", 0); - filler(h, "..", 0); - filler(h, hello_path + 1, 0); + filler(h, ".", 0, 0); + filler(h, "..", 0, 0); + filler(h, hello_path + 1, 0, 0); return 0; } -- cgit v1.2.3