Skip to content

Commit 197f9ba

Browse files
tklauserianlancetaylor
authored andcommitted
syscall: correct TCGETS/TCSETS values on ppc64/ppc64le
Correcting values is allowed per the syscall package rules, so update these constants to their correct value on ppc64/ppc64le. The values now match the corresponding constants in x/sys/unix. Update #19560 Fixes #22000 Change-Id: I1d358de345766ec96e15dfcc8911fe2f39fb0ddb Reviewed-on: https://go-review.googlesource.com/66510 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Lynn Boger <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 97590ae commit 197f9ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/syscall/ztypes_linux_ppc64.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ type Termios struct {
600600
const (
601601
IUCLC = 0x1000
602602
OLCUC = 0x4
603-
TCGETS = 0x403c7413
604-
TCSETS = 0x803c7414
603+
TCGETS = 0x402c7413
604+
TCSETS = 0x802c7414
605605
XCASE = 0x4000
606606
)

src/syscall/ztypes_linux_ppc64le.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ type Termios struct {
600600
const (
601601
IUCLC = 0x1000
602602
OLCUC = 0x4
603-
TCGETS = 0x403c7413
604-
TCSETS = 0x803c7414
603+
TCGETS = 0x402c7413
604+
TCSETS = 0x802c7414
605605
XCASE = 0x4000
606606
)

0 commit comments

Comments
 (0)