[PATCH] exa: Fix a warning when enabling DEBUG_TRACE_FALL

Thierry Reding thierry.reding at gmail.com
Wed Jun 25 07:03:29 PDT 2014


From: Thierry Reding <treding at nvidia.com>

The format string wants a picture and a character, but the argument list
contains only a character, causing GCC to complain. Add the missing
argument.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 exa/exa_unaccel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
index 58262e0b2b93..b0c6344a511d 100644
--- a/exa/exa_unaccel.c
+++ b/exa/exa_unaccel.c
@@ -685,7 +685,7 @@ ExaCheckAddTraps(PicturePtr pPicture,
 
     EXA_PRE_FALLBACK(pScreen);
 
-    EXA_FALLBACK(("to pict %p (%c)\n",
+    EXA_FALLBACK(("to pict %p (%c)\n", pPicture,
                   exaDrawableLocation(pPicture->pDrawable)));
     exaPrepareAccess(pPicture->pDrawable, EXA_PREPARE_DEST);
     swap(pExaScr, ps, AddTraps);
-- 
2.0.0



More information about the xorg-devel mailing list