aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-16 11:30:39 +0100
committerBjörn Gustavsson <[email protected]>2013-02-18 13:57:39 +0100
commitf7c877c8f2036c59f07442b6c9eb70e5503ab34d (patch)
tree77cb44951563b616b8135087223c228d350f6b59 /lib/kernel/src
parent1f9b77e63268374339c23288bc71246d6f494f20 (diff)
downloadotp-f7c877c8f2036c59f07442b6c9eb70e5503ab34d.tar.gz
otp-f7c877c8f2036c59f07442b6c9eb70e5503ab34d.tar.bz2
otp-f7c877c8f2036c59f07442b6c9eb70e5503ab34d.zip
Fix broken file:read_link_all/1
It produced the same result as file:read_link/1.
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/file_server.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/file_server.erl b/lib/kernel/src/file_server.erl
index 73202319b9..6b413ff630 100644
--- a/lib/kernel/src/file_server.erl
+++ b/lib/kernel/src/file_server.erl
@@ -170,7 +170,7 @@ handle_call({read_link_info, Name, Opts}, _From, Handle) ->
handle_call({read_link, Name}, _From, Handle) ->
{reply, ?PRIM_FILE:read_link(Handle, Name), Handle};
handle_call({read_link_all, Name}, _From, Handle) ->
- {reply, ?PRIM_FILE:read_link(Handle, Name), Handle};
+ {reply, ?PRIM_FILE:read_link_all(Handle, Name), Handle};
handle_call({make_link, Old, New}, _From, Handle) ->
{reply, ?PRIM_FILE:make_link(Handle, Old, New), Handle};