summaryrefslogtreecommitdiff
path: root/libgo/go/os/time.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/os/time.go')
-rw-r--r--libgo/go/os/time.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/os/time.go b/libgo/go/os/time.go
index 949574d19a0..a4678ee2a16 100644
--- a/libgo/go/os/time.go
+++ b/libgo/go/os/time.go
@@ -7,10 +7,10 @@ package os
import "syscall"
// Time returns the current time, in whole seconds and
-// fractional nanoseconds, plus an Error if any. The current
+// fractional nanoseconds, plus an error if any. The current
// time is thus 1e9*sec+nsec, in nanoseconds. The zero of
// time is the Unix epoch.
-func Time() (sec int64, nsec int64, err Error) {
+func Time() (sec int64, nsec int64, err error) {
var tv syscall.Timeval
if e := syscall.Gettimeofday(&tv); iserror(e) {
return 0, 0, NewSyscallError("gettimeofday", e)