mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-04-10 22:51:12 +00:00
as: fix missed call to error:format/1
This commit is contained in:
@@ -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)]),
|
||||
|
||||
Reference in New Issue
Block a user