From 1e338a2fe3b1462e583d57ce8fa6c6cc36af0ac7 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 2 Oct 2024 12:34:45 +0200 Subject: [PATCH] syscall: gofmt after CL 592078 Change-Id: I328760f7752f1f5ec100f151c7e13e3f804c0e10 Reviewed-on: https://go-review.googlesource.com/c/go/+/617355 Auto-Submit: Ian Lance Taylor Reviewed-by: Michael Knyszek Reviewed-by: Ian Lance Taylor Auto-Submit: Tobias Klauser LUCI-TryBot-Result: Go LUCI --- src/syscall/exec_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syscall/exec_linux.go b/src/syscall/exec_linux.go index 429a84635a..a258b1591e 100644 --- a/src/syscall/exec_linux.go +++ b/src/syscall/exec_linux.go @@ -818,7 +818,7 @@ func os_checkClonePidfd() error { // //go:noinline func doCheckClonePidfd(pidfd *int32) (pid uintptr, errno Errno) { - flags := uintptr(CLONE_VFORK|CLONE_VM|CLONE_PIDFD|SIGCHLD) + flags := uintptr(CLONE_VFORK | CLONE_VM | CLONE_PIDFD | SIGCHLD) if runtime.GOARCH == "s390x" { // On Linux/s390, the first two arguments of clone(2) are swapped. pid, errno = rawVforkSyscall(SYS_CLONE, 0, flags, uintptr(unsafe.Pointer(pidfd))) -- 2.48.1