diff options
Diffstat (limited to 'src/intel_device.c')
-rw-r--r-- | src/intel_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_device.c b/src/intel_device.c index 04ad7b6a..c4910cd8 100644 --- a/src/intel_device.c +++ b/src/intel_device.c @@ -233,7 +233,7 @@ static int load_i915_kernel_module(void) const char **kn; for (kn = kernel_module_names; *kn; kn++) - if (xf86LoadKernelModule(*kn) == 0) + if (xf86LoadKernelModule(*kn)) return 0; return -1; |