From: kramm Date: Sun, 1 Feb 2004 15:04:33 +0000 (+0000) Subject: The "file not found" error message is now a little bit more informative. X-Git-Tag: release-0-5-0~71 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=55647b56b6204c24995ed8cfa301617e0b231d2f The "file not found" error message is now a little bit more informative. --- diff --git a/src/swfdump.c b/src/swfdump.c index b2f00aa..b6cb9a5 100644 --- a/src/swfdump.c +++ b/src/swfdump.c @@ -662,7 +662,9 @@ int main (int argc,char ** argv) if (f<0) { - perror("Couldn't open file: "); + char buffer[256]; + sprintf(buffer, "Couldn't open %s", filename); + perror(buffer); exit(1); } if FAILED(swf_ReadSWF(f,&swf))