diff --git a/rust-src/src/cmd_mount.rs b/rust-src/src/cmd_mount.rs index bb23c1a1..f7c6d920 100644 --- a/rust-src/src/cmd_mount.rs +++ b/rust-src/src/cmd_mount.rs @@ -14,7 +14,7 @@ fn mount_inner( src: String, target: impl AsRef, fstype: &str, - mountflags: u64, + mountflags: libc::c_ulong, data: Option, ) -> anyhow::Result<()> { @@ -45,7 +45,7 @@ fn mount_inner( /// Parse a comma-separated mount options and split out mountflags and filesystem /// specific options. -fn parse_mount_options(options: impl AsRef) -> (Option, u64) { +fn parse_mount_options(options: impl AsRef) -> (Option, libc::c_ulong) { use either::Either::*; debug!("parsing mount options: {}", options.as_ref()); let (opts, flags) = options