Skip to content

Commit 73dfee3

Browse files
committed
Fix ioctl constants on mips big-endian
1 parent 61a6b27 commit 73dfee3

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/linux/arch/mips

1 file changed

+2
-2
lines changed

src/unix/linux_like/linux/arch/mips/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ cfg_if! {
137137
pub const BLKSSZGET: ::c_int = 0x1268;
138138
pub const BLKPBSZGET: ::c_int = 0x127B;
139139
} else if #[cfg(target_endian = "big")] {
140-
pub const BLKSSZGET: ::c_int = 0x6812;
141-
pub const BLKPBSZGET: ::c_int = 0x7B12;
140+
pub const BLKSSZGET: ::c_int = 0x20001268;
141+
pub const BLKPBSZGET: ::c_int = 0x2000127B;
142142
}
143143
}

0 commit comments

Comments
 (0)