From 94657a2a2afdc1b55879f815dca76474254aa377 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 14 Sep 2009 23:51:35 +0000 Subject: [PATCH] Make q3asm's CodeError print to stderr. Fixes Bugzilla #3845. --- code/tools/asm/q3asm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/tools/asm/q3asm.c b/code/tools/asm/q3asm.c index fdf7afcb..c740c7f7 100644 --- a/code/tools/asm/q3asm.c +++ b/code/tools/asm/q3asm.c @@ -489,10 +489,10 @@ static void CodeError( char *fmt, ... ) { errorCount++; - report( "%s:%i ", currentFileName, currentFileLine ); + fprintf( stderr, "%s:%i ", currentFileName, currentFileLine ); va_start( argptr,fmt ); - vprintf( fmt,argptr ); + vfprintf( stderr, fmt, argptr ); va_end( argptr ); }