aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello_ll.c
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2016-10-02 10:26:40 -0700
committerNikolaus Rath <Nikolaus@rath.org>2016-10-02 10:51:34 -0700
commit50f5255a44870863e4a9b6bcb7a62b5319fefd62 (patch)
treef2612633cfae824810dd8c0c86d7d0beb5cfcdf1 /example/hello_ll.c
parent1ac9551d9a0a7abdce3dd31dad808c89e0467823 (diff)
downloadlibfuse-50f5255a44870863e4a9b6bcb7a62b5319fefd62.tar.gz
Introduce separate mount/umount functions for low-level API.
Diffstat (limited to 'example/hello_ll.c')
-rwxr-xr-xexample/hello_ll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c
index 1bf7155..3c87bc6 100755
--- a/example/hello_ll.c
+++ b/example/hello_ll.c
@@ -191,7 +191,7 @@ int main(int argc, char *argv[])
int err = -1;
if (fuse_parse_cmdline(&args, &mountpoint, NULL, NULL) != -1 &&
- (ch = fuse_mount(mountpoint, &args)) != NULL) {
+ (ch = fuse_session_mount(mountpoint, &args)) != NULL) {
struct fuse_session *se;
se = fuse_lowlevel_new(&args, &hello_ll_oper,
@@ -208,7 +208,7 @@ int main(int argc, char *argv[])
}
fuse_session_destroy(se);
}
- fuse_unmount(mountpoint, ch);
+ fuse_session_unmount(mountpoint, ch);
}
fuse_opt_free_args(&args);