[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

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_FALLBACK(("to pict %p (%c)\n",
+    EXA_FALLBACK(("to pict %p (%c)\n", pPicture,
     exaPrepareAccess(pPicture->pDrawable, EXA_PREPARE_DEST);
     swap(pExaScr, ps, AddTraps);

More information about the xorg-devel mailing list