From 2186415f017c3bc6886d20c3d878b67453128e6a Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Fri, 13 Feb 2009 09:33:56 -0800 Subject: 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. --- nasm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nasm.c') diff --git a/nasm.c b/nasm.c index 8705f83..405fb1e 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; -- cgit v1.2.3