aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/goldfish_nand.c')
-rw-r--r--hw/goldfish_nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/goldfish_nand.c b/hw/goldfish_nand.c
index c9567d3..6d2182f 100644
--- a/hw/goldfish_nand.c
+++ b/hw/goldfish_nand.c
@@ -794,7 +794,7 @@ void nand_add_dev(const char *arg)
exit(1);
}
if(do_write(rwfd, dev->data, read_size) != read_size) {
- XLOG("could not write file %s, %s\n", initfilename, strerror(errno));
+ XLOG("could not write file %s, %s\n", rwfilename, strerror(errno));
exit(1);
}
} while(read_size == dev->erase_size);