aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/file.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <[email protected]>2011-10-21 12:00:08 +0200
committerTuncer Ayaz <[email protected]>2011-12-05 17:29:10 +0100
commit6a223b057ceac584a1eff201845b7116dd8430e3 (patch)
tree691e808b224ef07ccd9d7a9f3665d29cb30eacc7 /lib/kernel/src/file.erl
parent3a6b8ea771342bbeac91f2716fe7953ea1f6510f (diff)
downloadotp-6a223b057ceac584a1eff201845b7116dd8430e3.tar.gz
otp-6a223b057ceac584a1eff201845b7116dd8430e3.tar.bz2
otp-6a223b057ceac584a1eff201845b7116dd8430e3.zip
file: correct make_link/2 and make_symlink/2 docs
Diffstat (limited to 'lib/kernel/src/file.erl')
-rw-r--r--lib/kernel/src/file.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kernel/src/file.erl b/lib/kernel/src/file.erl
index 0b0f91d86a..2d54ae4c38 100644
--- a/lib/kernel/src/file.erl
+++ b/lib/kernel/src/file.erl
@@ -267,9 +267,9 @@ read_file(Name) ->
make_link(Old, New) ->
check_and_call(make_link, [file_name(Old), file_name(New)]).
--spec make_symlink(Name1, Name2) -> ok | {error, Reason} when
- Name1 :: name(),
- Name2 :: name(),
+-spec make_symlink(Existing, New) -> ok | {error, Reason} when
+ Existing :: name(),
+ New :: name(),
Reason :: posix() | badarg.
make_symlink(Old, New) ->