summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar BALATON Zoltan2014-10-17 00:07:51 +0200
committerGravatar BALATON Zoltan2014-10-21 01:15:25 +0200
commitd7b4e8b4409b5475f709e8fed7b744e0821c518d (patch)
tree04c5a07cab46c39ded80e05ffa776ad849eaec99
parent5ae84edb11f119120d57e649bc218a565a247087 (diff)
downloadidevicerestore-d7b4e8b4409b5475f709e8fed7b744e0821c518d.tar.gz
idevicerestore-d7b4e8b4409b5475f709e8fed7b744e0821c518d.tar.bz2
Fixed a typo in an error message
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index f889087..5e061eb 100644
--- a/src/common.c
+++ b/src/common.c
@@ -129,7 +129,7 @@ int write_file(const char* filename, const void* data, size_t size) {
debug("Writing data to %s\n", filename);
file = fopen(filename, "wb");
if (file == NULL) {
- error("read_file: Unable to open file %s\n", filename);
+ error("write_file: Unable to open file %s\n", filename);
return -1;
}