|
Message-ID: <25dfba1d3105a3930ee90372b5b10d08566dd5cf.1460250248.git.nsz@port70.net> Date: Sun, 10 Apr 2016 14:15:46 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: [PATCH 14/16] fix TCS* definitions in mips termios.h these were incorrectly using the generic definitions. --- arch/mips/bits/termios.h | 6 +++--- arch/mips64/bits/termios.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/mips/bits/termios.h b/arch/mips/bits/termios.h index 55ba132..29b4b22 100644 --- a/arch/mips/bits/termios.h +++ b/arch/mips/bits/termios.h @@ -142,9 +142,9 @@ struct termios #define TCOFLUSH 1 #define TCIOFLUSH 2 -#define TCSANOW 0 -#define TCSADRAIN 1 -#define TCSAFLUSH 2 +#define TCSANOW 0x540e +#define TCSADRAIN 0x540f +#define TCSAFLUSH 0x5410 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define EXTA 0000016 diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h index d831cfa..d97df8c 100644 --- a/arch/mips64/bits/termios.h +++ b/arch/mips64/bits/termios.h @@ -139,9 +139,9 @@ struct termios { #define TCOFLUSH 1 #define TCIOFLUSH 2 -#define TCSANOW 0 -#define TCSADRAIN 1 -#define TCSAFLUSH 2 +#define TCSANOW 0x540e +#define TCSADRAIN 0x540f +#define TCSAFLUSH 0x5410 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define EXTA 0000016 -- 2.7.2
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.