aboutsummaryrefslogtreecommitdiffstats
path: root/erts/example
diff options
context:
space:
mode:
Diffstat (limited to 'erts/example')
-rw-r--r--erts/example/time_compat.erl11
1 files changed, 6 insertions, 5 deletions
diff --git a/erts/example/time_compat.erl b/erts/example/time_compat.erl
index 54f6ba0790..b87c6cc550 100644
--- a/erts/example/time_compat.erl
+++ b/erts/example/time_compat.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2014. All Rights Reserved.
+%% Copyright Ericsson AB 2014-2015. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -26,9 +26,9 @@
%% versions. This way your code can automatically take advantage
%% of the improvements in the API when available. This is an
%% example of how to implement such an API, but it can be used
-%% as is if you want to. Just add this module to your project,
-%% and call the API via this module instead of calling the
-%% BIFs directly.
+%% as is if you want to. Just add (a preferrably renamed version of)
+%% this module to your project, and call the API via this module
+%% instead of calling the BIFs directly.
%%
-module(time_compat).
@@ -242,7 +242,8 @@ system_info(Item) ->
final;
NotSupArg when NotSupArg == os_monotonic_time_source;
NotSupArg == os_system_time_source;
- NotSupArg == start_time ->
+ NotSupArg == start_time;
+ NotSupArg == end_time ->
%% Cannot emulate this...
erlang:error(notsup, [NotSupArg]);
_ ->