From a9be62f0858749ae479d05167392c7cf965da3ce Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Thu, 26 Sep 2019 11:49:49 +0200 Subject: [PATCH] Fix wrong IOCTL value --- lib/std/os/bits/linux.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/os/bits/linux.zig b/lib/std/os/bits/linux.zig index ed4d704447..7cf6658a48 100644 --- a/lib/std/os/bits/linux.zig +++ b/lib/std/os/bits/linux.zig @@ -524,7 +524,7 @@ pub const TIOCSPGRP = 0x5410; pub const TIOCOUTQ = if (is_mips) 0x7472 else 0x5411; pub const TIOCSTI = 0x5412; pub const TIOCGWINSZ = if (is_mips) 0x40087468 else 0x5413; -pub const TIOCSWINSZ = if (is_mips) 0x40087467 else 0x5414; +pub const TIOCSWINSZ = if (is_mips) 0x80087467 else 0x5414; pub const TIOCMGET = 0x5415; pub const TIOCMBIS = 0x5416; pub const TIOCMBIC = 0x5417;