diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-11-08 22:04:09 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-11-08 22:04:09 +0100 |
commit | 9918e082104340da42eb92b6bdefce4d9266a6a4 (patch) | |
tree | 632273137a35b27c137a2acea566a8863b56e01b /src/glamo-kms-driver.c | |
parent | 245827dfa50586fe43c7724f6ff73833b6eeb0c0 (diff) |
Sigh. Try again...
Diffstat (limited to 'src/glamo-kms-driver.c')
-rw-r--r-- | src/glamo-kms-driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glamo-kms-driver.c b/src/glamo-kms-driver.c index 2dc6a71..1dce5d8 100644 --- a/src/glamo-kms-driver.c +++ b/src/glamo-kms-driver.c @@ -88,7 +88,7 @@ Bool GlamoKernelModesettingAvailable() do { ent = readdir(dir); - if ( !ent ) return FALSE; + if ( !ent ) break; if ( strncmp(ent->d_name, "drm:controlD", 12) == 0 ) { closedir(dir); @@ -109,7 +109,7 @@ Bool GlamoKernelModesettingAvailable() do { ent = readdir(dir); - if ( !ent ) return FALSE; + if ( !ent ) break; if ( strncmp(ent->d_name, "controlD", 8) == 0 ) { closedir(dir); |