aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-04-06 22:56:48 -0700
committerKenneth Graunke <[email protected]>2018-04-06 22:57:48 -0700
commita3782a612f1a4aaf8d16bed2113c6c798afd3011 (patch)
treea9c5f7ea2868e4d931cc117bc9749025f4444360 /src/mesa/drivers/dri
parentb5f92b6fd4e4ef0358fe464d951893de20048bf6 (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/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/intel_batchbuffer.c2
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,