The "file not found" error message is now a little bit more informative.
authorkramm <kramm>
Sun, 1 Feb 2004 15:04:33 +0000 (15:04 +0000)
committerkramm <kramm>
Sun, 1 Feb 2004 15:04:33 +0000 (15:04 +0000)
src/swfdump.c

index b2f00aa..b6cb9a5 100644 (file)
@@ -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))