summaryrefslogtreecommitdiff
path: root/src/lx_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lx_display.c')
-rw-r--r--src/lx_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lx_display.c b/src/lx_display.c
index ca6fed1..1f240f5 100644
--- a/src/lx_display.c
+++ b/src/lx_display.c
@@ -577,7 +577,7 @@ LXSetupCrtc(ScrnInfoPtr pScrni)
return;
}
- lxpriv = xnfcalloc(sizeof(LXCrtcPrivateRec), 1);
+ lxpriv = xnfcalloc(1, sizeof(LXCrtcPrivateRec));
if (!lxpriv) {
xf86CrtcDestroy(crtc);