summaryrefslogtreecommitdiffstats
path: root/src/ftab.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-04-13 01:13:59 +0200
committerGravatar Nikias Bassen2020-04-13 01:13:59 +0200
commit9243fbbb1d0a7c9912c7e41af4e55d3098b18ddd (patch)
tree88d9ab72d01cc1cf5e66a7302d579b14e1317602 /src/ftab.c
parent91175c8d6bcebc5e847f1c8503e064fd6b05c118 (diff)
downloadidevicerestore-9243fbbb1d0a7c9912c7e41af4e55d3098b18ddd.tar.gz
idevicerestore-9243fbbb1d0a7c9912c7e41af4e55d3098b18ddd.tar.bz2
ftab: Fix missing format string argument
Diffstat (limited to 'src/ftab.c')
-rw-r--r--src/ftab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftab.c b/src/ftab.c
index 968eb8e..8b40c24 100644
--- a/src/ftab.c
+++ b/src/ftab.c
@@ -41,7 +41,7 @@ int ftab_parse(unsigned char *data, unsigned int data_size, ftab_t *ftab, uint32
struct ftab_header *hdr_ptr = (struct ftab_header*)data;
if (be32toh(hdr_ptr->magic) != 'ftab') {
- error("ERROR: %s: Unexpected magic value 0x%08x\n", le32toh(hdr_ptr->magic));
+ error("ERROR: %s: Unexpected magic value 0x%08x\n", __func__, le32toh(hdr_ptr->magic));
return -1;
}