summaryrefslogtreecommitdiff
path: root/src/fuse/mount.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fuse/mount.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/fuse/mount.rs b/src/fuse/mount.rs
index 955b28a..6464372 100644
--- a/src/fuse/mount.rs
+++ b/src/fuse/mount.rs
@@ -17,7 +17,7 @@ use nix::{
use quick_error::quick_error;
-use super::Start;
+use super::session::Start;
use crate::util::DumbFd;
quick_error! {
@@ -146,10 +146,8 @@ where
Ok(session_fd) => {
let fusermount_fd = DumbFd(left_side.into_raw_fd());
let session_fd = DumbFd(session_fd);
- Ok(Start {
- fusermount_fd,
- session_fd,
- })
+
+ Ok(Start::new(fusermount_fd, session_fd))
}
Err(error) => {