diff options
author | Kenneth Graunke <[email protected]> | 2018-04-06 22:56:48 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-04-06 22:57:48 -0700 |
commit | a3782a612f1a4aaf8d16bed2113c6c798afd3011 (patch) | |
tree | a9c5f7ea2868e4d931cc117bc9749025f4444360 /src/mesa | |
parent | b5f92b6fd4e4ef0358fe464d951893de20048bf6 (diff) |
i965: Use %x instead of %u in debug print.
I mistakenly printed out the address as 0x<decimal number> instead of
printing a proper hex number. This was...surprising.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_batchbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index 7286140bcc9..55889be7327 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -64,7 +64,7 @@ dump_validation_list(struct intel_batchbuffer *batch) uint64_t flags = batch->validation_list[i].flags; assert(batch->validation_list[i].handle == batch->exec_bos[i]->gem_handle); - fprintf(stderr, "[%2d]: %2d %-14s %p %s%-7s @ 0x%016llu%s (%"PRIu64"B)\n", + fprintf(stderr, "[%2d]: %2d %-14s %p %s%-7s @ 0x%016llx%s (%"PRIu64"B)\n", i, batch->validation_list[i].handle, batch->exec_bos[i]->name, |