summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-12-17 00:53:09 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-12-17 00:53:09 +0000
commitd4a26aea280890079e9898a2da4fccf3e1c9e63f (patch)
tree3544d779624280b6f92d8a4c18dcfaf32417f01c /hw
parent3e2c284b8f43cfa3371e5412716ccd8d648bb44c (diff)
//bugs.freedesktop.org/show_bug.cgi?id=1383) attachment #902
(https://bugs.freedesktop.org/attachment.cgi?id=902): Fix typo in PCI code for Intel 460gx in X server, which causes a SEGV. Patch by H.J.Lu <hongjiu.lu@intel.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/os-support/bus/460gxPCI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/os-support/bus/460gxPCI.c b/hw/xfree86/os-support/bus/460gxPCI.c
index af4e230e6..9855b8b41 100644
--- a/hw/xfree86/os-support/bus/460gxPCI.c
+++ b/hw/xfree86/os-support/bus/460gxPCI.c
@@ -437,7 +437,7 @@ xf86PostScan460GX(void)
if (pPCI->funcnum > 0)
break;
- if ((pBusInfo = pciBusInfo[busno_460gx[i]]))
+ if ((pBusInfo == pciBusInfo[busno_460gx[i]]))
break;
/* Fix bus linkage */