summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 18:46:12 +0200
committerGravatar Nikias Bassen2012-07-17 18:46:12 +0200
commit3f63b29d0d4ecf8ea2a5bdec3a743c306011415b (patch)
tree66f71debf5639484e4bcfaff06d2bb5f59980196
parenta090d09b3ca756c7fdd355cc92dde6d543ab7c6e (diff)
downloadidevicerestore-3f63b29d0d4ecf8ea2a5bdec3a743c306011415b.tar.gz
idevicerestore-3f63b29d0d4ecf8ea2a5bdec3a743c306011415b.tar.bz2
mbn: Use correct log debug() function instead of printf for warnings
-rw-r--r--src/mbn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbn.c b/src/mbn.c
index b7f4a45..92ef927 100644
--- a/src/mbn.c
+++ b/src/mbn.c
@@ -38,7 +38,7 @@ mbn_file* mbn_parse(unsigned char* data, unsigned int size)
memcpy(&mbn->header, data, sizeof(mbn_header));
mbn->parsed_size = mbn->header.data_size + sizeof(mbn_header);
if (mbn->parsed_size != mbn->size) {
- printf("size mismatch?!\n");
+ debug("WARNING: size mismatch when parsing MBN file.\n");
}
return mbn;
}