From: Michael Gernoth Date: Sun, 1 Feb 2009 15:03:44 +0000 (+0100) Subject: typo in error message X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rsbs2/commitdiff_plain/7fe9e3fd316d6ccf4e7b47795e1886ebb19190c4 typo in error message --- 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); }