diff options
author | Henrik Nord <[email protected]> | 2012-08-29 16:10:30 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-08-29 16:10:30 +0200 |
commit | 0f89d26db03c7db52e49c75b238438b79684872f (patch) | |
tree | 96029519f7777bc814212b8120da3f8c786c586c /erts/preloaded/src/prim_file.erl | |
parent | 02fd7f5c277ae599d52c9d618880de91a6fc2025 (diff) | |
parent | 2890aeb643cc8ac0b46eebebb2f26e7d348bbea1 (diff) | |
download | otp-0f89d26db03c7db52e49c75b238438b79684872f.tar.gz otp-0f89d26db03c7db52e49c75b238438b79684872f.tar.bz2 otp-0f89d26db03c7db52e49c75b238438b79684872f.zip |
Merge branch 'maint'
Diffstat (limited to 'erts/preloaded/src/prim_file.erl')
-rw-r--r-- | erts/preloaded/src/prim_file.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/preloaded/src/prim_file.erl b/erts/preloaded/src/prim_file.erl index 401b5e8611..eafab1bae4 100644 --- a/erts/preloaded/src/prim_file.erl +++ b/erts/preloaded/src/prim_file.erl @@ -479,7 +479,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>>). |