Skip to content

Commit b1a407a

Browse files
committed
Fix ioctl constants on mips little-endian
1 parent 73dfee3 commit b1a407a

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
@@ -134,8 +134,8 @@ pub const IBSHIFT: ::tcflag_t = 16;
134134

135135
cfg_if! {
136136
if #[cfg(target_endian = "little")] {
137-
pub const BLKSSZGET: ::c_int = 0x1268;
138-
pub const BLKPBSZGET: ::c_int = 0x127B;
137+
pub const BLKSSZGET: ::c_int = 0x20001268;
138+
pub const BLKPBSZGET: ::c_int = 0x2000127B;
139139
} else if #[cfg(target_endian = "big")] {
140140
pub const BLKSSZGET: ::c_int = 0x20001268;
141141
pub const BLKPBSZGET: ::c_int = 0x2000127B;

0 commit comments

Comments
 (0)