From 7fe9e3fd316d6ccf4e7b47795e1886ebb19190c4 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sun, 1 Feb 2009 16:03:44 +0100 Subject: [PATCH] typo in error message --- firmware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2