From: Eric Anholt Date: Thu, 16 Aug 2007 21:35:06 +0000 (-0700) Subject: Fix bad printf on TTM fence_wait failure. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64297acf9e96353fe724362248246acaf0be8cb8;p=mesa.git Fix bad printf on TTM fence_wait failure. --- 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(); } }