From 64297acf9e96353fe724362248246acaf0be8cb8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 16 Aug 2007 14:35:06 -0700 Subject: Fix bad printf on TTM fence_wait failure. --- src/mesa/drivers/dri/common/dri_bufmgr_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c b/src/mesa/drivers/dri/common/dri_bufmgr_ttm.c index 7f1e10fbc8b..2d4f518b315 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(); } } -- cgit v1.2.3