Skip to content

Commit

Permalink
syscall: fix F_SETLK{,W} on linux/ppc64
Browse files Browse the repository at this point in the history
Change-Id: Ia81675b0f01ceafada32bdd2bc59088016a7421e
Reviewed-on: https://go-review.googlesource.com/10043
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
minux committed May 15, 2015
1 parent 83c7b60 commit 5069452
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/syscall/zerrors_linux_ppc64.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/syscall/ztypes_linux_ppc64.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 5069452

Please sign in to comment.