diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-03 02:17:34 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-12-03 02:17:34 +0000 |
commit | 2fd401c8f190f1fe43e51a7f726f6ed6119a1f96 (patch) | |
tree | 7f76eff391f37fe6467ff4ffbc0c582c9959ea30 /libgo/go/os/time.go | |
parent | 02e9018f1616b23f1276151797216717b3564202 (diff) | |
download | gcc-2fd401c8f190f1fe43e51a7f726f6ed6119a1f96.zip gcc-2fd401c8f190f1fe43e51a7f726f6ed6119a1f96.tar.gz gcc-2fd401c8f190f1fe43e51a7f726f6ed6119a1f96.tar.bz2 |
libgo: Update to weekly.2011-11-02.
From-SVN: r181964
Diffstat (limited to 'libgo/go/os/time.go')
-rw-r--r-- | libgo/go/os/time.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/os/time.go b/libgo/go/os/time.go index 949574d..a4678ee 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) |