diff options
author | Egbert Eich <eich@freedesktop.org> | 2007-09-04 15:07:17 +0200 |
---|---|---|
committer | Egbert Eich <eich@wlan-hermes.suse.de> | 2007-09-04 15:15:23 +0200 |
commit | 7c5de093d499de63d39fe038d86da0a085262017 (patch) | |
tree | bdba3e11c198b439f61eb22e3758e39b02d61def /hw/xfree86/i2c | |
parent | 9adea807038b64292403ede982075fe1dcfd4c9a (diff) |
Fixing sig11 in xf86I2CGetScreenBuses().
Dereferencing a pointer once too often caused a
sig11 in xf86I2CGetScreenBuses().
Diffstat (limited to 'hw/xfree86/i2c')
-rw-r--r-- | hw/xfree86/i2c/xf86i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/i2c/xf86i2c.c b/hw/xfree86/i2c/xf86i2c.c index 53382a859..0139612f5 100644 --- a/hw/xfree86/i2c/xf86i2c.c +++ b/hw/xfree86/i2c/xf86i2c.c @@ -883,7 +883,7 @@ xf86I2CGetScreenBuses(int scrnIndex, I2CBusPtr **pppI2CBus) continue; *pppI2CBus = xnfrealloc(*pppI2CBus, n * sizeof(I2CBusPtr)); - *pppI2CBus[n - 1] = pI2CBus; + pppI2CBus[n - 1] = pI2CBus; } return n; |