Commit 5069452d authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

syscall: fix F_SETLK{,W} on linux/ppc64

Change-Id: Ia81675b0f01ceafada32bdd2bc59088016a7421e
Reviewed-on: https://go-review.googlesource.com/10043Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
parent 83c7b60f
......@@ -366,9 +366,9 @@ const (
F_SETFD = 0x2
F_SETFL = 0x4
F_SETLEASE = 0x400
F_SETLK = 0xd
F_SETLK = 0x6
F_SETLK64 = 0xd
F_SETLKW = 0xe
F_SETLKW = 0x7
F_SETLKW64 = 0xe
F_SETOWN = 0x8
F_SETOWN_EX = 0xf
......
......@@ -549,7 +549,7 @@ type Sysinfo_t struct {
Totalhigh uint64
Freehigh uint64
Unit uint32
X_f [0]byte
X_f [0]uint8
Pad_cgo_1 [4]byte
}
......
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