diff options
author | Rickard Green <[email protected]> | 2016-08-24 11:46:34 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-08-25 17:33:05 +0200 |
commit | 412b5aaa5810cbac75ef41d29a36898ff1480129 (patch) | |
tree | dab5f9e78e8df4e894c56b7cf2c1335a50759bab /erts/example | |
parent | 71894a879d6254693791585246ce340dd7414b82 (diff) | |
download | otp-412b5aaa5810cbac75ef41d29a36898ff1480129.tar.gz otp-412b5aaa5810cbac75ef41d29a36898ff1480129.tar.bz2 otp-412b5aaa5810cbac75ef41d29a36898ff1480129.zip |
Replace misspelled symbolic time units
Besides using two words for 'milliseconds' et. al. they are
also changed from plural to singular.
Diffstat (limited to 'erts/example')
-rw-r--r-- | erts/example/time_compat.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/example/time_compat.erl b/erts/example/time_compat.erl index b87c6cc550..589781c8e8 100644 --- a/erts/example/time_compat.erl +++ b/erts/example/time_compat.erl @@ -272,6 +272,10 @@ system_flag(Flag, Value) -> %% integer_time_unit(native) -> 1000*1000; +integer_time_unit(nanosecond) -> 1000*1000*1000; +integer_time_unit(microsecond) -> 1000*1000; +integer_time_unit(millisecond) -> 1000; +integer_time_unit(second) -> 1; integer_time_unit(nano_seconds) -> 1000*1000*1000; integer_time_unit(micro_seconds) -> 1000*1000; integer_time_unit(milli_seconds) -> 1000; |