Signed-off-by: Paolo Borelli <pbore...@gnome.org>
---
 hw/vfb/InitOutput.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c
index ee0a154..e4b226d 100644
--- a/hw/vfb/InitOutput.c
+++ b/hw/vfb/InitOutput.c
@@ -844,7 +844,7 @@ vfbRandRInit(ScreenPtr pScreen)
     if (!crtc)
        return FALSE;
 
-    output = RROutputCreate (pScreen, "screen", 6, NULL);
+    output = RROutputCreate (pScreen, "screen", strlen("screen"), NULL);
     if (!output)
        return FALSE;
     if (!RROutputSetClones (output, NULL, 0))
-- 
2.7.4

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to