summaryrefslogtreecommitdiff
path: root/src/glamo-kms-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glamo-kms-driver.c')
-rw-r--r--src/glamo-kms-driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glamo-kms-driver.c b/src/glamo-kms-driver.c
index ac19ead..bf47131 100644
--- a/src/glamo-kms-driver.c
+++ b/src/glamo-kms-driver.c
@@ -349,8 +349,8 @@ Bool GlamoKMSScreenInit(int scrnIndex, ScreenPtr pScreen, int argc,
/* Deal with server regeneration */
if ( pGlamo->drm_fd < 0 ) {
- pGlamo->drm_fd = drmOpen(NULL, "platform:glamo-fb");
- if ( pGlamo->drm_fd < 0 ) return FALSE;
+ pGlamo->drm_fd = drmOpen(NULL, "platform:glamo-fb");
+ if ( pGlamo->drm_fd < 0 ) return FALSE;
}
pScrn->pScreen = pScreen;