aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/syscall_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/syscall_unix.go')
-rw-r--r--src/syscall/syscall_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/syscall_unix.go b/src/syscall/syscall_unix.go
index 91c939e0ea..786ad34170 100644
--- a/src/syscall/syscall_unix.go
+++ b/src/syscall/syscall_unix.go
@@ -110,7 +110,7 @@ func (m *mmapper) Munmap(data []byte) (err error) {
// using errors.Is. For example:
//
// _, _, err := syscall.Syscall(...)
-// if errors.Is(err, os.ErrNotExist) ...
+// if errors.Is(err, fs.ErrNotExist) ...
type Errno uintptr
func (e Errno) Error() string {