[PATCH 4/4] Correct inverted logic test in non libpciaccess code.
Paulo Cesar Pereira de Andrade
pcpa at mandriva.com.br
Mon Feb 9 12:42:52 PST 2009
Signed-off-by: Paulo Cesar Pereira de Andrade <pcpa at mandriva.com.br>
---
src/cyrix_driver.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cyrix_driver.c b/src/cyrix_driver.c
index 12db48d..d1c2b03 100644
--- a/src/cyrix_driver.c
+++ b/src/cyrix_driver.c
@@ -394,7 +394,7 @@ CYRIXProbe(DriverPtr drv, int flags)
/* PCI BUS */
#ifndef XSERVER_LIBPCIACCESS
- if (xf86GetPciVideoInfo())
+ if (xf86GetPciVideoInfo() == NULL)
return FALSE;
#endif
--
1.6.1
------=_20090209191441_23967--
More information about the xorg-devel
mailing list