aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/fuse_lo-plus.c2
-rwxr-xr-xexample/hello_ll.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/fuse_lo-plus.c b/example/fuse_lo-plus.c
index 30ad21e..e79c727 100644
--- a/example/fuse_lo-plus.c
+++ b/example/fuse_lo-plus.c
@@ -471,7 +471,7 @@ int main(int argc, char *argv[])
if (fuse_parse_cmdline(&args, &mountpoint, NULL, NULL) != -1 &&
(ch = fuse_session_mount(mountpoint, &args)) != NULL) {
struct fuse_session *se;
- se = fuse_lowlevel_new(&args, &lo_oper, sizeof(lo_oper), &lo);
+ se = fuse_session_new(&args, &lo_oper, sizeof(lo_oper), &lo);
if (se != NULL) {
if (fuse_set_signal_handlers(se) != -1) {
fuse_session_add_chan(se, ch);
diff --git a/example/hello_ll.c b/example/hello_ll.c
index 3c87bc6..528b216 100755
--- a/example/hello_ll.c
+++ b/example/hello_ll.c
@@ -194,7 +194,7 @@ int main(int argc, char *argv[])
(ch = fuse_session_mount(mountpoint, &args)) != NULL) {
struct fuse_session *se;
- se = fuse_lowlevel_new(&args, &hello_ll_oper,
+ se = fuse_session_new(&args, &hello_ll_oper,
sizeof(hello_ll_oper), NULL);
if (se != NULL) {
if (fuse_set_signal_handlers(se) != -1) {