summaryrefslogtreecommitdiff
path: root/src/intel_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel_device.c')
-rw-r--r--src/intel_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_device.c b/src/intel_device.c
index cb48c34a..da4d21e0 100644
--- a/src/intel_device.c
+++ b/src/intel_device.c
@@ -98,7 +98,7 @@ static int __intel_open_device(const struct pci_device *pci, char **path)
if (xf86LoadKernelModule("i915"))
ret = drmCheckModesettingSupported(id);
if (ret)
- return FALSE;
+ return -1;
/* Be nice to the user and load fbcon too */
(void)xf86LoadKernelModule("fbcon");
}