aboutsummaryrefslogtreecommitdiffstats
path: root/erts/example
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-06-18 11:45:36 +0200
committerRickard Green <[email protected]>2015-06-18 11:45:36 +0200
commita99dd7b0f7fd2f99d08527898ca7564024751748 (patch)
treeef87372c7e9e9e19cfe0a49cae3fa0c44a0a589e /erts/example
parentef3dd7ebc24c6bbc74d4b823cd057222bccbe1cf (diff)
downloadotp-a99dd7b0f7fd2f99d08527898ca7564024751748.tar.gz
otp-a99dd7b0f7fd2f99d08527898ca7564024751748.tar.bz2
otp-a99dd7b0f7fd2f99d08527898ca7564024751748.zip
Minor doc fixes
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 90b7fbcc80..b566fb939f 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.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -25,9 +25,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).
@@ -241,7 +241,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]);
_ ->