summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-11-08 20:41:56 +0100
committerThomas White <taw@bitwiz.org.uk>2009-11-08 20:41:56 +0100
commit245827dfa50586fe43c7724f6ff73833b6eeb0c0 (patch)
tree597cc643e48887a054db1d892175315467fc6cf3
parentb7961c45556704596b51256d89535c057d4fd5f3 (diff)
Fix the fix...
-rw-r--r--src/glamo-kms-driver.c2
1 files changed, 1 insertions, 1 deletions
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;
}