diff options
Diffstat (limited to 'src/glamo-kms-driver.c')
-rw-r--r-- | src/glamo-kms-driver.c | 2 |
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; } |