Change MountPoint fields to using c_ulong since that's what libmount uses
This commit is contained in:
parent
2c05d22434
commit
dbb3eaec91
1 changed files with 5 additions and 4 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue