From edd2b789568b14c29a004a64b6ff82bb6e4e9620 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 27 Jun 2014 16:00:03 +0100 Subject: [PATCH] sna/dri2: DBG compile fixes Signed-off-by: Chris Wilson --- src/sna/sna_dri2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index c6327eec..80429eb5 100644 --- a/src/sna/sna_dri2.c +++ b/src/sna/sna_dri2.c @@ -1200,7 +1200,7 @@ sna_dri2_remove_event(WindowPtr win, struct sna_dri2_event *info) assert(win->drawable.type == DRAWABLE_WINDOW); DBG(("%s: remove[%p] from window %ld, active? %d\n", - __FUNCTION__, info, (long)win->drawable.id, info->darw != NULL)); + __FUNCTION__, info, (long)win->drawable.id, info->draw != NULL)); priv = dri2_window(win); assert(priv); @@ -1267,7 +1267,7 @@ sna_dri2_client_gone(CallbackListPtr *list, void *closure, void *data) if (client->clientState != ClientStateGone) return; - DBG(("%s(active?=%d)\n", __FUNCTION__ + DBG(("%s(active?=%d)\n", __FUNCTION__, !list_is_empty(&priv->events))); while (!list_is_empty(&priv->events)) {