summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2010-02-15 14:24:51 +0100
committerJakob Bornecrantz <[email protected]>2010-02-27 02:12:47 +0000
commit0a1b760cd274aff96d68757dabf9caa077119f37 (patch)
tree26b469953afe90560d12e2850b59e6fec2ef7613 /src/gallium/winsys
parent4fd43b09224c0e3b37de54e24508dcea5cd50dd8 (diff)
st/xorg, vmware/xorg: Fix xnfcalloc arguments.
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/drm/vmware/xorg/vmw_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/vmware/xorg/vmw_screen.c b/src/gallium/winsys/drm/vmware/xorg/vmw_screen.c
index 7c9757cce95..0d255d2726f 100644
--- a/src/gallium/winsys/drm/vmware/xorg/vmw_screen.c
+++ b/src/gallium/winsys/drm/vmware/xorg/vmw_screen.c
@@ -87,7 +87,7 @@ vmw_screen_init(ScrnInfoPtr pScrn)
modesettingPtr ms = modesettingPTR(pScrn);
struct vmw_driver *vmw;
- vmw = xnfcalloc(sizeof(*vmw), 1);
+ vmw = xnfcalloc(1, sizeof(*vmw));
if (!vmw)
return FALSE;