X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/b5163e0dbed5fbeb23b9ffa872489c54731c4c3b..e8563c43527e7f0fcb338069f39d74d252340d28:/firmware.c diff --git a/firmware.c b/firmware.c index aeef48c..9f599f3 100644 --- a/firmware.c +++ b/firmware.c @@ -8,7 +8,7 @@ #include #include #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); }