summaryrefslogtreecommitdiff
path: root/output/outbin.c
diff options
context:
space:
mode:
Diffstat (limited to 'output/outbin.c')
-rw-r--r--output/outbin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outbin.c b/output/outbin.c
index 4bf13fa4..73a4d8a7 100644
--- a/output/outbin.c
+++ b/output/outbin.c
@@ -1328,13 +1328,13 @@ bin_directive(enum directive directive, char *args)
else { /* Must be a filename. */
rf = nasm_open_write(p, NF_TEXT);
if (!rf) {
- nasm_warn(WARN_OTHER, "unable to open map file `%s'", p);
+ nasm_warn(WARN_OTHER|ERR_PASS1, "unable to open map file `%s'", p);
map_control = 0;
return DIRR_OK;
}
}
} else
- nasm_warn(WARN_OTHER, "map file already specified");
+ nasm_warn(WARN_OTHER|ERR_PASS1, "map file already specified");
}
if (map_control == 0)
map_control |= MAP_ORIGIN | MAP_SUMMARY;