git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ddd44
)
The "file not found" error message is now a little bit more informative.
author
kramm
<kramm>
Sun, 1 Feb 2004 15:04:33 +0000
(15:04 +0000)
committer
kramm
<kramm>
Sun, 1 Feb 2004 15:04:33 +0000
(15:04 +0000)
src/swfdump.c
patch
|
blob
|
history
diff --git
a/src/swfdump.c
b/src/swfdump.c
index
b2f00aa
..
b6cb9a5
100644
(file)
--- 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))