diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-16 16:57:00 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-11-16 16:57:00 +1100 |
commit | 56bc1890b229072513788992d1d29b6f173c13de (patch) | |
tree | 20e81d08b66f7ce122a7d5b2cf49e3b495eac1ed /core/test | |
parent | 4834fced49c6c8ccbc7237588df5cfe7c4e7cdd7 (diff) | |
download | talos-skiboot-56bc1890b229072513788992d1d29b6f173c13de.tar.gz talos-skiboot-56bc1890b229072513788992d1d29b6f173c13de.zip |
Enable -Werror for -Wformat
We create our own inttypes.h to get the correct printf formatting for
64bit numbers.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/test')
-rw-r--r-- | core/test/run-mem_range_is_reserved.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/test/run-mem_range_is_reserved.c b/core/test/run-mem_range_is_reserved.c index b5043261..0efe9b92 100644 --- a/core/test/run-mem_range_is_reserved.c +++ b/core/test/run-mem_range_is_reserved.c @@ -178,7 +178,7 @@ static void run_test(struct test *test) fprintf(stderr, "reserved regions:\n"); list_for_each(®ions, r, list) { - fprintf(stderr, "\t: %08x[%08x] %s\n", + fprintf(stderr, "\t: %08"PRIx64"[%08"PRIx64"] %s\n", r->start, r->len, r->name); } exit(EXIT_FAILURE); |