aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-06-11 14:46:26 +0200
committerLukas Larsson <[email protected]>2018-06-11 14:46:26 +0200
commite1d7d2d501bd1d28a3c0962d9230147503e3a1c8 (patch)
tree84621f5e7aed1d393b1158f4e696a6db9f94a1c1 /erts/emulator
parentc2d0170c32402a7ddb6657be72f5bf5786fa298b (diff)
parentbc50c1e4e0d7deaae19804964760d4ffa1e13cbb (diff)
downloadotp-e1d7d2d501bd1d28a3c0962d9230147503e3a1c8.tar.gz
otp-e1d7d2d501bd1d28a3c0962d9230147503e3a1c8.tar.bz2
otp-e1d7d2d501bd1d28a3c0962d9230147503e3a1c8.zip
Merge branch 'lukas/kernel/logger-config/OTP-13295'
* lukas/kernel/logger-config/OTP-13295: erts: Fix emulator log messages to use erlang:system_time kernel: Add LOGGER_SERVER_TAG to logger_server
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/beam/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index 87709edc15..78d9d5e613 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -1946,7 +1946,7 @@ do_allocate_logger_message(Eterm gleader, ErtsMonotonicTime *ts, Eterm *pid,
else
sz += MAP4_SZ /* metadata map w gl w pid*/;
- *ts = ERTS_MONOTONIC_TO_USEC(erts_get_monotonic_time(NULL)) + ERTS_MONOTONIC_OFFSET_USEC;
+ *ts = ERTS_MONOTONIC_TO_USEC(erts_get_monotonic_time(NULL) + erts_get_time_offset());
erts_bld_sint64(NULL, &sz, *ts);
*bp = new_message_buffer(sz);