aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_event.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-01-30 15:12:07 +0100
committerRickard Green <[email protected]>2015-03-20 15:28:53 +0100
commit4deb4dbc453318bcdf2f6f160cdb219fb31f7926 (patch)
tree1ad63eb2857f6d4cee5b4aaa63cb6ce5f2bb9706 /lib/mnesia/src/mnesia_event.erl
parentd33ac120455f520a74b3c5cdfc32136d25b3e771 (diff)
downloadotp-4deb4dbc453318bcdf2f6f160cdb219fb31f7926.tar.gz
otp-4deb4dbc453318bcdf2f6f160cdb219fb31f7926.tar.bz2
otp-4deb4dbc453318bcdf2f6f160cdb219fb31f7926.zip
Replace usage of erlang:now() with usage of new API
Diffstat (limited to 'lib/mnesia/src/mnesia_event.erl')
-rw-r--r--lib/mnesia/src/mnesia_event.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/mnesia/src/mnesia_event.erl b/lib/mnesia/src/mnesia_event.erl
index 67ec9d7399..8a4be88e9a 100644
--- a/lib/mnesia/src/mnesia_event.erl
+++ b/lib/mnesia/src/mnesia_event.erl
@@ -235,8 +235,7 @@ report_fatal(Format, Args, BinaryCore, CoreDumped) ->
end.
core_file(CoreDir,BinaryCore,Format,Args) ->
- %% Integers = tuple_to_list(date()) ++ tuple_to_list(time()),
- Integers = tuple_to_list(now()),
+ Integers = tuple_to_list(erlang:timestamp()),
Fun = fun(I) when I < 10 -> ["_0",I];
(I) -> ["_",I]
end,