mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-23 19:08:00 +00:00
pdp10_stdio.erl: correct return value in fopen failure case
This commit is contained in:
parent
512f2e452d
commit
cc709a7e1c
@ -166,7 +166,9 @@ do_init({ok, {IoDev, Read, Write}}) ->
|
||||
, write = Write
|
||||
, iodir = seek
|
||||
}};
|
||||
do_init({error, _Reason} = Error) -> Error.
|
||||
do_init({error, Reason}) ->
|
||||
%% FIXME: this still seems to generate crash reports
|
||||
{stop, Reason}.
|
||||
|
||||
handle_call(Req, _From, State) ->
|
||||
case Req of
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user