diff options
author | Tuncer Ayaz <[email protected]> | 2012-04-10 12:47:23 +0200 |
---|---|---|
committer | Tuncer Ayaz <[email protected]> | 2012-07-05 21:34:23 +0200 |
commit | 8af5bd5e01cef3f0ebb760e9c7e4cea0452a270f (patch) | |
tree | 7c48379f647e085e2f01d569ebb2d9dc9be64270 | |
parent | 14f6a66f6410e1665ad39e95158420b0a45634d6 (diff) | |
download | otp-8af5bd5e01cef3f0ebb760e9c7e4cea0452a270f.tar.gz otp-8af5bd5e01cef3f0ebb760e9c7e4cea0452a270f.tar.bz2 otp-8af5bd5e01cef3f0ebb760e9c7e4cea0452a270f.zip |
Fix various code typos for R15B02
-rw-r--r-- | erts/emulator/beam/erl_time_sup.c | 2 | ||||
-rw-r--r-- | erts/preloaded/src/prim_file.erl | 2 | ||||
-rw-r--r-- | lib/inets/src/http_client/httpc_handler.erl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_time_sup.c b/erts/emulator/beam/erl_time_sup.c index 1d0735aa99..7fd8501b08 100644 --- a/erts/emulator/beam/erl_time_sup.c +++ b/erts/emulator/beam/erl_time_sup.c @@ -351,7 +351,7 @@ static int clock_resolution; /* ** The clock resolution should really be the resolution of the ** time function in use, which on most platforms -** is 1. On VxWorks the resolution shold be +** is 1. On VxWorks the resolution should be ** the number of ticks per second (or 1, which would work nicely to). ** ** Setting lower resolutions is mostly interesting when timers are used diff --git a/erts/preloaded/src/prim_file.erl b/erts/preloaded/src/prim_file.erl index 0fc56c8c8e..ec158ba970 100644 --- a/erts/preloaded/src/prim_file.erl +++ b/erts/preloaded/src/prim_file.erl @@ -453,7 +453,7 @@ position(#file_descriptor{module = ?MODULE, data = {Port, _}}, At) -> {error, Reason} end. -%% Returns {error, Reaseon} | ok. +%% Returns {error, Reason} | ok. truncate(#file_descriptor{module = ?MODULE, data = {Port, _}}) -> drv_command(Port, <<?FILE_TRUNCATE>>). diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl index b8c34bd99b..fb6879bf4d 100644 --- a/lib/inets/src/http_client/httpc_handler.erl +++ b/lib/inets/src/http_client/httpc_handler.erl @@ -55,7 +55,7 @@ status_line, % {Version, StatusCode, ReasonPharse} headers, % #http_response_h{} body, % binary() - mfa, % {Moduel, Function, Args} + mfa, % {Module, Function, Args} pipeline = queue:new(), % queue() keep_alive = queue:new(), % queue() status, % undefined | new | pipeline | keep_alive | close | ssl_tunnel |