summaryrefslogtreecommitdiff
path: root/libgo/go/time/sys_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/time/sys_unix.go')
-rw-r--r--libgo/go/time/sys_unix.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/time/sys_unix.go b/libgo/go/time/sys_unix.go
index 379e13d6a53..e592415daa5 100644
--- a/libgo/go/time/sys_unix.go
+++ b/libgo/go/time/sys_unix.go
@@ -74,3 +74,5 @@ func preadn(fd uintptr, buf []byte, off int) error {
}
return nil
}
+
+func isNotExist(err error) bool { return err == syscall.ENOENT }