diff --git a/src/mounts.rs b/src/mounts.rs index cfeec61..0ef0e2c 100644 --- a/src/mounts.rs +++ b/src/mounts.rs @@ -5,16 +5,17 @@ use std::io::Read; use std::path::{Path, PathBuf}; use libmount::mountinfo::Parser; +use libc::c_ulong; use crate::errors::Error; use crate::utils; #[derive(Debug)] pub struct MountPoint { - pub mount_id: u64, - pub parent_id: u64, - pub major: u64, - pub minor: u64, + pub mount_id: c_ulong, + pub parent_id: c_ulong, + pub major: c_ulong, + pub minor: c_ulong, pub root: PathBuf, pub mount_point: PathBuf, }