xf86-video-intel: src/intel_device.c
Chris Wilson
ickle at kemper.freedesktop.org
Sun Jun 30 07:03:45 PDT 2013
src/intel_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5005bd2d52ab64cbeae099d512d0b65be6c4abaa
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun Jun 30 15:02:19 2013 +0100
intel: Fix failure code for reporting !drmCheckModesetingSupported
The new function returns the fd, not a Bool, so the error code must now
be -1.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/intel_device.c b/src/intel_device.c
index cb48c34..da4d21e 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");
}
More information about the xorg-commit
mailing list