From: kramm Date: Mon, 20 Sep 2004 16:09:52 +0000 (+0000) Subject: dump error message to stderr instead of stdout. X-Git-Tag: release-0-6-2~62 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=fc408e5f0214a25910220fc798412a344ec7c5e1 dump error message to stderr instead of stdout. --- diff --git a/avi2swf/avi2swf.cc b/avi2swf/avi2swf.cc index bdc97a4..e980747 100644 --- a/avi2swf/avi2swf.cc +++ b/avi2swf/avi2swf.cc @@ -239,7 +239,7 @@ int main (int argc,char ** argv) #endif if(ret<0) { - printf("Error opening %s\n", filename); + fprintf(stderr, "Error opening %s\n", filename); exit(1); }