summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-06-27 21:13:05 +0000
committerPetr Hosek <phosek@chromium.org>2019-06-27 21:13:05 +0000
commitdb8d60bc3d340838680bdb02788fc9d372ebfb40 (patch)
tree630aa6ca42732060409b315f73b48e3523159dd9
parent60eb072a16750ccae175e4c06f9135ba3669cbdd (diff)
downloadcompiler-rt-db8d60bc3d340838680bdb02788fc9d372ebfb40.tar.gz
[sanitizer_common] Switch from zx_clock_get_new to zx_clock_get
This is part of the soft-transition to the new system call name. These two system calls are the same so this change is no-op. Differential Revision: https://reviews.llvm.org/D63895 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@364593 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/sanitizer_common/sanitizer_fuchsia.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_fuchsia.cc b/lib/sanitizer_common/sanitizer_fuchsia.cc
index d358e7e00..9c032fa89 100644
--- a/lib/sanitizer_common/sanitizer_fuchsia.cc
+++ b/lib/sanitizer_common/sanitizer_fuchsia.cc
@@ -48,7 +48,7 @@ unsigned int internal_sleep(unsigned int seconds) {
u64 NanoTime() {
zx_time_t time;
- zx_status_t status = _zx_clock_get_new(ZX_CLOCK_UTC, &time);
+ zx_status_t status = _zx_clock_get(ZX_CLOCK_UTC, &time);
CHECK_EQ(status, ZX_OK);
return time;
}