diff options
author | Björn Gustavsson <[email protected]> | 2013-02-16 11:30:39 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-02-18 13:57:39 +0100 |
commit | f7c877c8f2036c59f07442b6c9eb70e5503ab34d (patch) | |
tree | 77cb44951563b616b8135087223c228d350f6b59 /lib | |
parent | 1f9b77e63268374339c23288bc71246d6f494f20 (diff) | |
download | otp-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')
-rw-r--r-- | lib/kernel/src/file_server.erl | 2 |
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}; |