File u_Xephyr-Fix-compile-when-debugging-is-enabled.patch of Package xorg-x11-server.5068

From: Egbert Eich <eich@freedesktop.org>
Date: Mon Mar 30 17:50:23 2015 +0200
Subject: [PATCH]Xephyr: Fix compile when debugging is enabled
Patch-mainline: to be upstreamed

References: bnc#925021
Signed-off-by: Egbert Eich <eich@suse.de>

---
 hw/kdrive/ephyr/hostx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c
index b838b6e..3c2c300 100644
--- a/hw/kdrive/ephyr/hostx.c
+++ b/hw/kdrive/ephyr/hostx.c
@@ -623,7 +623,7 @@ hostx_screen_init(KdScreenInfo *screen,
     }
 
     EPHYR_DBG("host_screen=%p wxh=%dx%d, buffer_height=%d",
-              host_screen, width, height, buffer_height);
+              screen, width, height, buffer_height);
 
     if (scrpriv->ximg != NULL) {
         /* Free up the image data if previously used
openSUSE Build Service is sponsored by