aboutsummaryrefslogtreecommitdiffstats
path: root/erts/preloaded/src/prim_file.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-09-16 16:22:38 +0200
committerTuncer Ayaz <[email protected]>2011-09-16 16:22:38 +0200
commit067b7a98111f22eeff11e4b2e75af11da0b09f8e (patch)
tree69ca0e935f8598ebd4321a2c768af20a9acebef8 /erts/preloaded/src/prim_file.erl
parentc59dc075b6306e38d7b4bd52d29cfd4d144756cb (diff)
downloadotp-067b7a98111f22eeff11e4b2e75af11da0b09f8e.tar.gz
otp-067b7a98111f22eeff11e4b2e75af11da0b09f8e.tar.bz2
otp-067b7a98111f22eeff11e4b2e75af11da0b09f8e.zip
Fix typos in erts/preloaded/src
Diffstat (limited to 'erts/preloaded/src/prim_file.erl')
-rw-r--r--erts/preloaded/src/prim_file.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/preloaded/src/prim_file.erl b/erts/preloaded/src/prim_file.erl
index ac2797ec03..fd2d4a1530 100644
--- a/erts/preloaded/src/prim_file.erl
+++ b/erts/preloaded/src/prim_file.erl
@@ -374,7 +374,7 @@ read(#file_descriptor{module = ?MODULE, data = {Port, _}}, Size)
{ok, Data};
{error, enomem} ->
%% Garbage collecting here might help if
- %% the current processes has some old binaries left.
+ %% the current processes have some old binaries left.
erlang:garbage_collect(),
case drv_command(Port, <<?FILE_READ, Size:64>>) of
{ok, {0, _Data}} when Size =/= 0 ->
@@ -940,7 +940,7 @@ drv_get_response(Port) ->
-%% Converts a list of mode atoms into an mode word for the driver.
+%% Converts a list of mode atoms into a mode word for the driver.
%% Returns {Mode, Portopts, Setopts} where Portopts is a list of
%% options for erlang:open_port/2 and Setopts is a list of
%% setopt commands to send to the port, or error Reason upon failure.