xserver: Branch 'master'

Egbert Eich eich at kemper.freedesktop.org
Tue Sep 4 06:16:13 PDT 2007


 hw/xfree86/i2c/xf86i2c.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 7c5de093d499de63d39fe038d86da0a085262017 (from 9adea807038b64292403ede982075fe1dcfd4c9a)
Author: Egbert Eich <eich at freedesktop.org>
Date:   Tue Sep 4 15:07:17 2007 +0200

    Fixing sig11 in xf86I2CGetScreenBuses().
    
    Dereferencing a pointer once too often caused a
    sig11 in xf86I2CGetScreenBuses().

diff --git a/hw/xfree86/i2c/xf86i2c.c b/hw/xfree86/i2c/xf86i2c.c
index 53382a8..0139612 100644
--- a/hw/xfree86/i2c/xf86i2c.c
+++ b/hw/xfree86/i2c/xf86i2c.c
@@ -883,7 +883,7 @@ xf86I2CGetScreenBuses(int scrnIndex, I2C
 	    continue;
 
         *pppI2CBus = xnfrealloc(*pppI2CBus, n * sizeof(I2CBusPtr));
-	*pppI2CBus[n - 1] = pI2CBus;
+	pppI2CBus[n - 1] = pI2CBus;
     }
 
     return n;


More information about the xorg-commit mailing list