mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
Correct some broken printf() like format mismatches
Fix two places where a printf()-style format string does not match the arguments passed. Reported-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
397d5ef020
commit
f72508e2b6
2 changed files with 2 additions and 2 deletions
2
util.h
2
util.h
|
@ -53,7 +53,7 @@ static inline void *xrealloc(void *p, size_t len)
|
|||
void *new = realloc(p, len);
|
||||
|
||||
if (!new)
|
||||
die("realloc() failed (len=%d)\n", len);
|
||||
die("realloc() failed (len=%zd)\n", len);
|
||||
|
||||
return new;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue