]> git.zerfleddert.de Git - rsbs2/commitdiff
typo in error message
authorMichael Gernoth <michael@gernoth.net>
Sun, 1 Feb 2009 15:03:44 +0000 (16:03 +0100)
committerMichael Gernoth <michael@gernoth.net>
Sun, 1 Feb 2009 15:03:44 +0000 (16:03 +0100)
firmware.c

index aeef48c59a0071abd85baebde44f62363fca307f..e4401da45a8781299dcf9368f6e7dbff4d5ccdca 100644 (file)
@@ -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