summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasm.c b/nasm.c
index 8705f83e..405fb1e9 100644
--- a/nasm.c
+++ b/nasm.c
@@ -789,8 +789,8 @@ static bool process_arg(char *p, char *q)
break;
case 'v':
- fprintf(stderr, "NASM version %s compiled on %s%s\n",
- nasm_version, nasm_date, nasm_compile_options);
+ printf("NASM version %s compiled on %s%s\n",
+ nasm_version, nasm_date, nasm_compile_options);
exit(0); /* never need usage message here */
break;