aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src/erl_prim_loader.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-12-14 15:21:36 +0100
committerSiri Hansen <[email protected]>2019-01-16 09:59:24 +0100
commitbbf00a0ef74bbe49b29e800a07c94e4c0b4d01b2 (patch)
tree097c976cb2d7e13a35354deb932ca510df255cbf /erts/preloaded/src/erl_prim_loader.erl
parent72c625bc20a1510a01e7eaa5978f903b45e3e88e (diff)
downloadotp-bbf00a0ef74bbe49b29e800a07c94e4c0b4d01b2.tar.gz
otp-bbf00a0ef74bbe49b29e800a07c94e4c0b4d01b2.tar.bz2
otp-bbf00a0ef74bbe49b29e800a07c94e4c0b4d01b2.zip
Use system_time instead of monotonic_time in log events
Two modules were missed when this was changed before OTP-21.
Diffstat (limited to 'erts/preloaded/src/erl_prim_loader.erl')
-rw-r--r--erts/preloaded/src/erl_prim_loader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/erl_prim_loader.erl b/erts/preloaded/src/erl_prim_loader.erl
index ae5f86e017..fefdd34292 100644
--- a/erts/preloaded/src/erl_prim_loader.erl
+++ b/erts/preloaded/src/erl_prim_loader.erl
@@ -302,7 +302,7 @@ check_file_result(Func, Target, {error,Reason}) ->
logger ! {log,error,#{label=>{?MODULE,file_error},report=>Report},
#{pid=>self(),
gl=>group_leader(),
- time=>erlang:monotonic_time(microsecond),
+ time=>erlang:system_time(microsecond),
error_logger=>#{tag=>error_report,
type=>std_error}}},
error