Pass input filename into error message

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-24 12:03:31 +03:00
parent afd8d2f11a
commit 8e0acaad66

View File

@ -525,7 +525,7 @@ int main(int argc, char **argv)
if (!strcmp(outname, inname)) {
outname = "nasm.out";
nasm_error(ERR_WARNING,
"default output file same as input, using `%s' for output\n",
"default output file same as input `%s', using `%s' for output\n",
inname, outname);
}
}