aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/write_err_android.go
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2017-02-07 17:35:51 -0500
committerDavid Crawshaw <crawshaw@golang.org>2017-02-08 02:56:25 +0000
commit14c2849c3ebe498971413ee5e8c9780fabc8578e (patch)
tree81a2c7558a8ecb272560054830ca51207c107295 /src/runtime/write_err_android.go
parent48d71990722f3cc81305c794d3d3b6d9007770c8 (diff)
downloadgo-14c2849c3ebe498971413ee5e8c9780fabc8578e.tar.gz
go-14c2849c3ebe498971413ee5e8c9780fabc8578e.zip
runtime: update android time_now call
This was broken in https://golang.org/cl/36255 Change-Id: Ib23323a745a650ac51b0ead161076f97efe6d7b7 Reviewed-on: https://go-review.googlesource.com/36543 Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/write_err_android.go')
-rw-r--r--src/runtime/write_err_android.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/write_err_android.go b/src/runtime/write_err_android.go
index 748dec644c..bf99b5f6c5 100644
--- a/src/runtime/write_err_android.go
+++ b/src/runtime/write_err_android.go
@@ -144,7 +144,7 @@ func writeLogdHeader() int {
// hdr[3:7] sec unsigned uint32, little endian.
// hdr[7:11] nsec unsigned uint32, little endian.
hdr[0] = 0 // LOG_ID_MAIN
- sec, nsec := time_now()
+ sec, nsec := walltime()
packUint32(hdr[3:7], uint32(sec))
packUint32(hdr[7:11], uint32(nsec))