From: nasm-bot f. C. G. <gor...@gm...> - 2018-12-01 18:36:16
|
Commit-ID: 98bf1ba980203ea7bd66142553b678810ee9f116 Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=98bf1ba980203ea7bd66142553b678810ee9f116 Author: Cyrill Gorcunov <gor...@gm...> AuthorDate: Sat, 1 Dec 2018 20:04:53 +0300 Committer: Cyrill Gorcunov <gor...@gm...> CommitDate: Sat, 1 Dec 2018 20:04:53 +0300 listing: Use nasm_error helpers Signed-off-by: Cyrill Gorcunov <gor...@gm...> --- asm/listing.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/asm/listing.c b/asm/listing.c index 6c459e1..b974c46 100644 --- a/asm/listing.c +++ b/asm/listing.c @@ -135,8 +135,7 @@ static void list_init(const char *fname) listfp = nasm_open_write(fname, NF_TEXT); if (!listfp) { - nasm_error(ERR_NONFATAL, "unable to open listing file `%s'", - fname); + nasm_nonfatal("unable to open listing file `%s'", fname); return; } |