From 2ff431189e4be35d3121cce7cc7d3df21dcfd71c Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Mon, 24 Feb 2014 08:36:56 -0800 Subject: [PATCH] syscall: regenerate Flock_t to make it compliant with EABI Note that current z-files for linux/amd64,386,arm are based on 3.2 kernel. LGTM=iant R=golang-codereviews, dave, bradfitz, gobot, iant CC=golang-codereviews https://golang.org/cl/59160044 --- src/pkg/syscall/ztypes_linux_arm.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pkg/syscall/ztypes_linux_arm.go b/src/pkg/syscall/ztypes_linux_arm.go index 28663e4acd..5f21a948df 100644 --- a/src/pkg/syscall/ztypes_linux_arm.go +++ b/src/pkg/syscall/ztypes_linux_arm.go @@ -145,11 +145,13 @@ type Fsid struct { } type Flock_t struct { - Type int16 - Whence int16 - Start int64 - Len int64 - Pid int32 + Type int16 + Whence int16 + Pad_cgo_0 [4]byte + Start int64 + Len int64 + Pid int32 + Pad_cgo_1 [4]byte } type RawSockaddrInet4 struct { -- 2.48.1