From 98bf1ba980203ea7bd66142553b678810ee9f116 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sat, 1 Dec 2018 20:04:53 +0300 Subject: listing: Use nasm_error helpers Signed-off-by: Cyrill Gorcunov --- asm/listing.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/asm/listing.c b/asm/listing.c index 6c459e13..b974c46b 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; } -- cgit v1.2.1