commit | 13ce6e1c2fc4549fbb53a9ca5f577166c6e315ac | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Thu Jun 08 14:35:16 2017 +1000 |
committer | David Gibson <david@gibson.dropbear.id.au> | Thu Jun 08 14:35:16 2017 +1000 |
tree | d1cde9622f5a8c2c7d8f0df784b05c9b275b7642 | |
parent | d990b8013889b816ec054c7e07a77db59c56c400 [diff] |
dtc: fix sprintf() format string error, again 2a42b14 "dtc: check.c fix compile error" changed a format string using %lx which wasn't correct for all platforms. Unfortunately it changed it to %zx, which is wrong for a different set of platforms (and only right on the others by accident). The parameter we're formatting here is uint64_t, not size_t, so we need to use the PRIx64 macro from <inttypes.h> to get this right. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>