summaryrefslogtreecommitdiff
path: root/src/lib/time/sleep.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/time/sleep.go')
-rw-r--r--src/lib/time/sleep.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/time/sleep.go b/src/lib/time/sleep.go
index 8451c6d80..f1f0d11ae 100644
--- a/src/lib/time/sleep.go
+++ b/src/lib/time/sleep.go
@@ -12,7 +12,7 @@ import (
// Sleep pauses the current goroutine for ns nanoseconds.
// It returns os.EINTR if interrupted.
-func Sleep(ns int64) *os.Error {
+func Sleep(ns int64) os.Error {
var tv syscall.Timeval;
syscall.Nstotimeval(ns, &tv);
r1, r2, err := syscall.Syscall6(syscall.SYS_SELECT, 0, 0, 0, 0,