From 245827dfa50586fe43c7724f6ff73833b6eeb0c0 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 8 Nov 2009 20:41:56 +0100 Subject: Fix the fix... --- src/glamo-kms-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glamo-kms-driver.c b/src/glamo-kms-driver.c index f25ac42..2dc6a71 100644 --- a/src/glamo-kms-driver.c +++ b/src/glamo-kms-driver.c @@ -111,7 +111,7 @@ Bool GlamoKernelModesettingAvailable() ent = readdir(dir); if ( !ent ) return FALSE; - if ( strncmp(ent->d_name, "controlD", 12) == 0 ) { + if ( strncmp(ent->d_name, "controlD", 8) == 0 ) { closedir(dir); return TRUE; } -- cgit v1.2.3