From 9243fbbb1d0a7c9912c7e41af4e55d3098b18ddd Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 13 Apr 2020 01:13:59 +0200 Subject: ftab: Fix missing format string argument --- src/ftab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.1-32-gdbae