diff options
author | Rickard Green <rickard@erlang.org> | 2015-03-25 15:56:35 +0100 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2015-03-25 15:56:35 +0100 |
commit | 047811828ebac3c4909b8056b8268205c34b693c (patch) | |
tree | 4410c422d1663a7cb4d13c1c00d4eedb49bbfc77 /erts/emulator/sys/unix/sys_time.c | |
parent | 24cdb324390d99924af9f66104c0941afb5a7b08 (diff) | |
download | otp-047811828ebac3c4909b8056b8268205c34b693c.tar.gz otp-047811828ebac3c4909b8056b8268205c34b693c.tar.bz2 otp-047811828ebac3c4909b8056b8268205c34b693c.zip |
Fix erts_sys_hrtime() fallback
Diffstat (limited to 'erts/emulator/sys/unix/sys_time.c')
-rw-r--r-- | erts/emulator/sys/unix/sys_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/sys/unix/sys_time.c b/erts/emulator/sys/unix/sys_time.c index e764607c25..ea021a27cf 100644 --- a/erts/emulator/sys/unix/sys_time.c +++ b/erts/emulator/sys/unix/sys_time.c @@ -790,7 +790,7 @@ erts_os_monotonic_time(void) ErtsSysHrTime erts_sys_hrtime(void) { - return (ErtsSysHrTime) erts_os_system_time(); + return (ErtsSysHrTime) ERTS_MONOTONIC_TO_NSEC(erts_os_system_time()); } #endif |