summaryrefslogtreecommitdiff
path: root/dix/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/main.c')
-rw-r--r--dix/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/main.c b/dix/main.c
index 70dcc946e..7837e9aeb 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -325,7 +325,7 @@ main(int argc, char *argv[], char *envp[])
FreeScratchPixmapsForScreen(i);
FreeGCperDepth(i);
FreeDefaultStipple(i);
- (*screenInfo.screens[i]->CloseScreen) (i, screenInfo.screens[i]);
+ (*screenInfo.screens[i]->CloseScreen) (screenInfo.screens[i]);
dixFreePrivates(screenInfo.screens[i]->devPrivates, PRIVATE_SCREEN);
free(screenInfo.screens[i]);
screenInfo.numScreens = i;