From 50f5255a44870863e4a9b6bcb7a62b5319fefd62 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sun, 2 Oct 2016 10:26:40 -0700 Subject: Introduce separate mount/umount functions for low-level API. --- example/hello_ll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example/hello_ll.c') 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); -- cgit v1.2.3