diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 4943629..8c79ced 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2633,7 +2633,7 @@ Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags) if (xf86RegisterResources(info->pEnt->index, 0, ResExclusive)) goto fail; - if (xf86SetOperatingState(resVga, info->pEnt->index, ResUnusedOpr)) + if (!xf86SetOperatingState(resVga, info->pEnt->index, ResUnusedOpr)) goto fail; pScrn->racMemFlags = RAC_FB | RAC_COLORMAP | RAC_VIEWPORT | RAC_CURSOR;