summaryrefslogtreecommitdiff
path: root/src/lx_driver.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-02 15:01:45 +0200
committerMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-02 15:01:45 +0200
commit7d903943b806fe02a747a49e73b574b0bf843ab0 (patch)
treef6d36b577f25a9e1a111d697a9465b35c52a90a3 /src/lx_driver.c
parenteccd9febd2b96b50b1ed7bd900a9dc9a8ddc4d6e (diff)
parent3c1375afdb9e1be524adae98c3713397d50e3a3e (diff)
Merge remote branch 'origin/master' into obsd
Diffstat (limited to 'src/lx_driver.c')
-rw-r--r--src/lx_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lx_driver.c b/src/lx_driver.c
index 477939d..a17854c 100644
--- a/src/lx_driver.c
+++ b/src/lx_driver.c
@@ -300,7 +300,7 @@ LXPreInit(ScrnInfoPtr pScrni, int flags)
return TRUE;
}
- pGeode = pScrni->driverPrivate = xnfcalloc(sizeof(GeodeRec), 1);
+ pGeode = pScrni->driverPrivate = xnfcalloc(1, sizeof(GeodeRec));
if (pGeode == NULL)
return FALSE;
@@ -313,7 +313,7 @@ LXPreInit(ScrnInfoPtr pScrni, int flags)
if (!xf86LoadSubModule(pScrni, "vgahw") || !vgaHWGetHWRec(pScrni))
pGeode->useVGA = FALSE;
- pGeode->vesa = calloc(sizeof(VESARec), 1);
+ pGeode->vesa = calloc(1, sizeof(VESARec));
}
cim_rdmsr = LXReadMSR;