summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/errstr_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/syscall/errstr_linux.go')
-rw-r--r--libgo/go/syscall/errstr_linux.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/go/syscall/errstr_linux.go b/libgo/go/syscall/errstr_linux.go
index d10476d3cb..7156b790da 100644
--- a/libgo/go/syscall/errstr_linux.go
+++ b/libgo/go/syscall/errstr_linux.go
@@ -1,9 +1,12 @@
-// errstr_rtems.go -- RTEMS specific error strings.
+// errstr_linux.go -- GNU/Linux specific error strings.
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// 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.
+
package syscall
import "unsafe"