diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-07-13 15:04:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-07-13 15:04:30 -0400 |
commit | cff5747c74c41b22f1ce1340978b1c226a8cdf32 (patch) | |
tree | d4bb639db22cf5defe5c23126688f70e40df4841 /arch/mips64 | |
parent | 6399fa9d29ea83de4735680b77d457bd59606532 (diff) | |
download | musl-cff5747c74c41b22f1ce1340978b1c226a8cdf32.zip musl-cff5747c74c41b22f1ce1340978b1c226a8cdf32.tar.gz musl-cff5747c74c41b22f1ce1340978b1c226a8cdf32.tar.bz2 |
fix regression in tcsetattr on all mips archs
revert commit 8c316e9e49d37ad92c2e7493e16166a2afca419f. it was wrong
and does not match how the kernel API works.
Diffstat (limited to 'arch/mips64')
-rw-r--r-- | arch/mips64/bits/termios.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips64/bits/termios.h b/arch/mips64/bits/termios.h index f559f76..6a1205d 100644 --- a/arch/mips64/bits/termios.h +++ b/arch/mips64/bits/termios.h @@ -141,9 +141,9 @@ struct termios { #define TCOFLUSH 1 #define TCIOFLUSH 2 -#define TCSANOW 0x540e -#define TCSADRAIN 0x540f -#define TCSAFLUSH 0x5410 +#define TCSANOW 0 +#define TCSADRAIN 1 +#define TCSAFLUSH 2 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #define EXTA 0000016 |