From 8218e5da2b177ca9cd0e2b1e7dbe114e5ef2ebf0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 27 Aug 2012 19:36:03 +0100 Subject: [PATCH] sna: Fix crash with broken DBG missing one of its arguments Reported-by: Clemens Eisserer Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54127 Signed-off-by: Chris Wilson --- src/sna/sna_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 4639fc49..06b7e267 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -11638,7 +11638,7 @@ sna_poly_fill_rect(DrawablePtr draw, GCPtr gc, int n, xRectangle *rect) /* If the source is already on the GPU, keep the operation on the GPU */ if (gc->fillStyle == FillTiled) { if (!gc->tileIsPixel && sna_pixmap_is_gpu(gc->tile.pixmap)) { - DBG(("%s: source is already on the gpu\n")); + DBG(("%s: source is already on the gpu\n", __FUNCTION__)); hint |= PREFER_GPU | FORCE_GPU; } }