]> git.zerfleddert.de Git - rsbs2/blobdiff - firmware.c
rename extract.{c,h} to filesystem.{c,h}
[rsbs2] / firmware.c
index aeef48c59a0071abd85baebde44f62363fca307f..9f599f39220e22be67d59ab715c82842308a3685 100644 (file)
@@ -8,7 +8,7 @@
 #include <string.h>
 #include <strings.h>
 #include "rsb-crc.h"
-#include "extract.h"
+#include "filesystem.h"
 
 #define FINDSTR(addr, str) (!strncmp((char*)addr, str, strlen(str)))
 
@@ -508,7 +508,7 @@ int main(int argc, char **argv)
 
                        printf("Writing %s\n", newfile);
                        if ((fd = open(newfile, O_WRONLY|O_CREAT, 0644)) == -1) {
-                               fprintf(stderr,"%s: ", file);
+                               fprintf(stderr,"%s: ", newfile);
                                perror("open");
                                exit(1);
                        }
Impressum, Datenschutz