Skip to content

Commit

Permalink
syscall: correct TCGETS/TCSETS values on ppc64/ppc64le
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tklauser authored and ianlancetaylor committed Sep 27, 2017
1 parent 97590ae commit 197f9ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/syscall/ztypes_linux_ppc64.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ type Termios struct {
const (
IUCLC = 0x1000
OLCUC = 0x4
TCGETS = 0x403c7413
TCSETS = 0x803c7414
TCGETS = 0x402c7413
TCSETS = 0x802c7414
XCASE = 0x4000
)
4 changes: 2 additions & 2 deletions src/syscall/ztypes_linux_ppc64le.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ type Termios struct {
const (
IUCLC = 0x1000
OLCUC = 0x4
TCGETS = 0x403c7413
TCSETS = 0x803c7414
TCGETS = 0x402c7413
TCSETS = 0x802c7414
XCASE = 0x4000
)

0 comments on commit 197f9ba

Please sign in to comment.