X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/blobdiff_plain/b5163e0dbed5fbeb23b9ffa872489c54731c4c3b..7fe9e3fd316d6ccf4e7b47795e1886ebb19190c4:/firmware.c diff --git a/firmware.c b/firmware.c index aeef48c..e4401da 100644 --- a/firmware.c +++ b/firmware.c @@ -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); }