commit | f72508e2b6ca16016862b937ca1584b282fa637c | [log] [tgz] |
---|---|---|
author | David Gibson <[email protected]> | Mon Feb 27 10:38:38 2017 +1100 |
committer | David Gibson <[email protected]> | Tue Feb 28 10:04:20 2017 +1100 |
tree | 8fb75c5ecbeeff40fb61747a8d4c3ff8a739b9fa | |
parent | 397d5ef0203ce4fa59dae5142645d364412dc962 [diff] [blame] |
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 <[email protected]> Signed-off-by: David Gibson <[email protected]>
diff --git a/util.h b/util.h index f5c4f1b..35b2bda 100644 --- a/util.h +++ b/util.h
@@ -53,7 +53,7 @@ void *new = realloc(p, len); if (!new) - die("realloc() failed (len=%d)\n", len); + die("realloc() failed (len=%zd)\n", len); return new; }