aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-11-26 14:15:46 -0800
committerH. Peter Anvin <hpa@zytor.com>2018-11-26 14:15:46 -0800
commitda794322557cb361457d5384806bace5662daeaa (patch)
tree9a148378da5f57a8936ee90924cafd1217d11fa3
parent4885cc2ba880e74d953bc859379358194f801cd1 (diff)
downloadnasm-da794322557cb361457d5384806bace5662daeaa.tar.gz
nasm-da794322557cb361457d5384806bace5662daeaa.tar.xz
nasm-da794322557cb361457d5384806bace5662daeaa.zip
BR 3392529: remove excess printf() argument
The input file is provided by nasm_error(), we should not include it in the printf list (compiler warning + wrong message.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--asm/nasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/nasm.c b/asm/nasm.c
index 41a26649..9435f1d3 100644
--- a/asm/nasm.c
+++ b/asm/nasm.c
@@ -520,7 +520,7 @@ int main(int argc, char **argv)
outname = "nasm.out";
nasm_error(ERR_WARNING,
"default output file same as input, using `%s' for output\n",
- inname, outname);
+ outname);
}
}