diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-02-13 09:33:56 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-13 09:36:47 -0800 |
commit | 2186415f017c3bc6886d20c3d878b67453128e6a (patch) | |
tree | a68c56f97b4f5073aec27af31ffaa84032a87bc0 /nasm.c | |
parent | f8914800f812a333439e650ca017d0d33225d432 (diff) | |
download | nasm-2186415f017c3bc6886d20c3d878b67453128e6a.tar.gz nasm-2186415f017c3bc6886d20c3d878b67453128e6a.tar.bz2 nasm-2186415f017c3bc6886d20c3d878b67453128e6a.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |