File U_06-Remove-reference-to-virtualFrom.patch of Package xf86-video-sis

From: Adam Jackson <ajax@redhat.com>
Date: Thu Feb 16 11:21:27 2017 -0500
Subject: [PATCH 6/7]Remove reference to ->virtualFrom
Patch-mainline: Upstream
Git-repo: git://anongit.freedesktop.org/xorg/driver/xf86-video-sis
Git-commit: 4b1356a2b7fd06e9a05d134caa4033681c939737
References: 
Signed-off-by: Max Staudt <mstaudt@suse.de>

The core will print this information as well anyway.

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
 src/sis_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sis_driver.c b/src/sis_driver.c
index 8f06164..513f68b 100644
--- a/src/sis_driver.c
+++ b/src/sis_driver.c
@@ -2738,7 +2738,7 @@ SiSPrintModes(ScrnInfoPtr pScrn)
     float hsync, refresh = 0.0;
     char *desc, *desc2, *prefix, *uprefix, *output;
 
-    xf86DrvMsg(pScrn->scrnIndex, pScrn->virtualFrom, "Virtual size is %dx%d "
+    xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Virtual size is %dx%d "
 	       "(pitch %d)\n", pScrn->virtualX, pScrn->virtualY,
 	       pScrn->displayWidth);
 
openSUSE Build Service is sponsored by