Skip to content

Commit

Permalink
Fix missing archs for Linux FS_IOC flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fsavy-tehtris committed Oct 20, 2023
1 parent 7552e6f commit f62b8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/linux_like/linux/arch/generic/mod.rs
Expand Up @@ -227,7 +227,7 @@ cfg_if! {
pub const FS_IOC32_SETFLAGS: ::Ioctl = 0x40046602;
pub const FS_IOC32_GETVERSION: ::Ioctl = 0x80047601;
pub const FS_IOC32_SETVERSION: ::Ioctl = 0x40047602;
} else if #[cfg(target_arch = "x86_64")] {
} else if #[cfg(any(target_arch = "x86_64", target_arch = "riscv64", target_arch = "aarch64"))] {
pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80086601;
pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40086602;
pub const FS_IOC_GETVERSION: ::Ioctl = 0x80087601;
Expand Down

0 comments on commit f62b8b5

Please sign in to comment.