diff --git a/src/option_parser.cpp b/src/option_parser.cpp index 3ac2acbb..671fefa5 100644 --- a/src/option_parser.cpp +++ b/src/option_parser.cpp @@ -349,7 +349,7 @@ namespace options if(cfg.mountpoint->empty()) cfg.errs.push_back({EINVAL,"mountpoint not set"}); else - fuse_opt_add_arg(args_,cfg.mountpoint.c_str()); + fuse_opt_add_arg(args_,cfg.mountpoint.string().c_str()); ::_postprocess_and_print_warnings(); ::_check_for_mount_loop();