From 86f2cae45048158154eb2b1dbb181c3e1d6a8bf7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 8 Jun 2014 15:18:34 +0100 Subject: sna/dri2: DBG compile fix Typo in DBG message. Signed-off-by: Chris Wilson --- src/sna/sna_dri2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sna') diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index c95ef0cb..8553169b 100644 --- a/src/sna/sna_dri2.c +++ b/src/sna/sna_dri2.c @@ -1616,7 +1616,7 @@ static void chain_swap(struct sna *sna, struct sna_dri2_event *chain) if (chain->queued) /* too early! */ return; - assert(chain == dri2_chain((WindowPtr)chain->draw)); + assert(chain == dri2_chain(chain->draw)); DBG(("%s: chaining draw=%ld, type=%d\n", __FUNCTION__, (long)chain->draw->id, chain->type)); chain->queued = true; @@ -2398,7 +2398,7 @@ sna_dri2_schedule_swap(ClientPtr client, DrawablePtr draw, DRI2BufferPtr front, assert(draw->type != DRAWABLE_PIXMAP); while (dri2_chain(draw) && has_pending_events(sna)) { - DBG(("%s: flushing pending events\n", __FUNCTIONS__)); + DBG(("%s: flushing pending events\n", __FUNCTION__)); sna_mode_wakeup(sna); } -- cgit v1.2.3