forked from OSchip/llvm-project
[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:
parent
6e62a796d5
commit
379a9f5e24
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue