[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

llvm-svn: 364593
This commit is contained in:
Petr Hosek 2019-06-27 21:13:05 +00:00
parent 6e62a796d5
commit 379a9f5e24
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}