summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/errstr_glibc.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-06-13 21:32:25 -0700
committerIan Lance Taylor <iant@golang.org>2022-06-14 15:11:17 -0700
commitcf79b1117bd177d3d4c6ed24b6fa243c3628ac2d (patch)
treeb471331b7fd035d6adddf9cc8b1fb8bf738e9fc5 /libgo/go/syscall/errstr_glibc.go
parent6abe341558abec40c9c44d76e7fb4fb3978e894b (diff)
downloadgcc-cf79b1117bd177d3d4c6ed24b6fa243c3628ac2d.tar.gz
syscall: gofmt
Add blank lines after //sys comments where needed, and then run gofmt on the syscall package with the new formatter. This is the libgo version of CL 407136. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/412074
Diffstat (limited to 'libgo/go/syscall/errstr_glibc.go')
-rw-r--r--libgo/go/syscall/errstr_glibc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/syscall/errstr_glibc.go b/libgo/go/syscall/errstr_glibc.go
index 5b19e6f202d..03a327dbc90 100644
--- a/libgo/go/syscall/errstr_glibc.go
+++ b/libgo/go/syscall/errstr_glibc.go
@@ -7,6 +7,7 @@
// We use this rather than errstr.go because on GNU/Linux sterror_r
// returns a pointer to the error message, and may not use buf at all.
+//go:build hurd || linux
// +build hurd linux
package syscall