summaryrefslogtreecommitdiff
path: root/src/session.rs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-01-04 07:06:25 -0600
committerAlejandro Soto <alejandro@34project.org>2022-01-04 07:06:25 -0600
commitff17b04143dde5157808be5bcf1cbf8a942db4c4 (patch)
treed19620c7fd48f401c9df67b8f18750520f5a0f73 /src/session.rs
parent2236d258859018a93b14504295385ad4fb0b3d9b (diff)
Replace quick-error with thiserror
Diffstat (limited to '')
-rw-r--r--src/session.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/session.rs b/src/session.rs
index e83a8d4..29b3ab6 100644
--- a/src/session.rs
+++ b/src/session.rs
@@ -23,7 +23,8 @@ use bytemuck::bytes_of;
use smallvec::SmallVec;
use crate::{
- mount::{unmount_sync, MountError},
+ error::MountError,
+ mount::unmount_sync,
proto::{self, InHeader, Structured},
util::{page_size, DumbFd, OutputChain},
Errno, FuseError, FuseResult,
@@ -537,7 +538,7 @@ where
let body = match Structured::toplevel_from(&bytes[HEADER_END..header.len as usize], &header) {
Ok(body) => body,
Err(error) => {
- log::error!("Parsing request {}: {}", header, error);
+ log::error!("Parsing request {}: {:?}", header, error);
let reply = Reply::<ops::Any> {
session,
unique: header.unique,