From 047811828ebac3c4909b8056b8268205c34b693c Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Wed, 25 Mar 2015 15:56:35 +0100 Subject: Fix erts_sys_hrtime() fallback --- erts/emulator/sys/unix/sys_time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'erts') 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 -- cgit v1.2.3