summaryrefslogtreecommitdiff
path: root/src/atii2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atii2c.c')
-rw-r--r--src/atii2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atii2c.c b/src/atii2c.c
index a0fa050..7ede076 100644
--- a/src/atii2c.c
+++ b/src/atii2c.c
@@ -318,7 +318,7 @@ ATICreateI2CBusRec
)
{
I2CBusPtr pI2CBus;
- ATII2CPtr pATII2C = xnfcalloc(1, SizeOf(ATII2CRec));
+ ATII2CPtr pATII2C = XNFcallocarray(1, SizeOf(ATII2CRec));
if (!(pI2CBus = xf86CreateI2CBusRec()))
{