mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-01-24 03:18:22 +00:00
as: fix missed call to error:format/1
This commit is contained in:
parent
026bc3b8e2
commit
07d88d7697
@ -34,7 +34,7 @@ main_(Argv) ->
|
||||
OutFile = scan_options(Options),
|
||||
case as(Files, OutFile) of
|
||||
ok -> halt(0);
|
||||
{error, _Reason} = Error -> escript_runtime:fatal("~p\n", [Error])
|
||||
{error, Reason} -> escript_runtime:fatal("~s\n", [error:format(Reason)])
|
||||
end;
|
||||
{error, Reason} ->
|
||||
escript_runtime:errmsg("~s\n", [error:format(Reason)]),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user