summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-08-16 14:35:06 -0700
committerEric Anholt <eric@anholt.net>2007-08-16 14:35:06 -0700
commit64297acf9e96353fe724362248246acaf0be8cb8 (patch)
tree7a79b87f2a343db5c89dbf0f261642a6d6b0f618 /src/mesa
parent2b77a8696b14bc36be359bf858189ade5fab8511 (diff)
Fix bad printf on TTM fence_wait failure.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/common/dri_bufmgr_ttm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
index 7f1e10fbc8..2d4f518b31 100644
--- a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
+++ b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c
@@ -339,7 +339,7 @@ dri_ttm_fence_wait(dri_fence *fence)
_glthread_UNLOCK_MUTEX(bufmgr_ttm->mutex);
if (ret != 0) {
_mesa_printf("%s:%d: Error %d waiting for fence %s.\n",
- __FILE__, __LINE__, fence_ttm->name);
+ __FILE__, __LINE__, ret, fence_ttm->name);
abort();
}
}