summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-02-13 09:33:56 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-02-13 09:36:47 -0800
commit2186415f017c3bc6886d20c3d878b67453128e6a (patch)
treea68c56f97b4f5073aec27af31ffaa84032a87bc0 /nasm.c
parentf8914800f812a333439e650ca017d0d33225d432 (diff)
downloadnasm-2186415f017c3bc6886d20c3d878b67453128e6a.tar.gz
BR 2593349: Move version message back to stdout
Checkin 4b9358928b114caaf34a69d6fdfd3b285b7a72cc changed the version message from stdout to stderr, but: a) doesn't motivate the change in the commit log; b) bundles that with other changes; c) is inconsistent with other programs; d) was done by me and I can't remember any reason for it. Hence conclude it was unintentional and therefore a bug. Since this commit was done after 2.05.01 no stable release has been affected.
Diffstat (limited to 'nasm.c')
-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;