mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-08 11:23:27 +00:00
fix format string called with too few arguments
This commit is contained in:
parent
b90cb5da65
commit
80d87b9be4
@ -1807,7 +1807,7 @@ static int apprentice_map(RMagic *ms, struct r_magic **magicp, ut32 *nmagicp, co
|
||||
#ifdef QUICK
|
||||
if ((mm = mmap (0, (size_t)st.st_size, PROT_READ, //OPENBSDBUG |PROT_WRITE,
|
||||
MAP_PRIVATE|MAP_FILE, fd, (off_t)0)) == MAP_FAILED) {
|
||||
file_error (ms, errno, "cannot map `%s'"); //, dbname);
|
||||
file_error (ms, errno, "cannot map `%s'", dbname);
|
||||
goto error1;
|
||||
}
|
||||
#define RET 2
|
||||
|
Loading…
Reference in New Issue
Block a user