summaryrefslogtreecommitdiff
path: root/dix/privates.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/privates.c')
-rw-r--r--dix/privates.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/privates.c b/dix/privates.c
index 64d705e24..672738f29 100644
--- a/dix/privates.c
+++ b/dix/privates.c
@@ -358,7 +358,7 @@ InitCmapPrivFunc initPrivFunc;
pColormap->devPrivates = privs;
- if (!privs || !(*initPrivFunc)(pColormap))
+ if (!privs || !(*initPrivFunc)(pColormap,index))
{
colormapPrivateCount--;
return -1;