Commit 197f9ba1 authored by Tobias Klauser's avatar Tobias Klauser Committed by Ian Lance Taylor

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 <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarLynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 97590aea
......@@ -600,7 +600,7 @@ type Termios struct {
const (
IUCLC = 0x1000
OLCUC = 0x4
TCGETS = 0x403c7413
TCSETS = 0x803c7414
TCGETS = 0x402c7413
TCSETS = 0x802c7414
XCASE = 0x4000
)
......@@ -600,7 +600,7 @@ type Termios struct {
const (
IUCLC = 0x1000
OLCUC = 0x4
TCGETS = 0x403c7413
TCSETS = 0x803c7414
TCGETS = 0x402c7413
TCSETS = 0x802c7414
XCASE = 0x4000
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment