aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/dix
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-29 16:54:44 +0200
committermarha <marha@users.sourceforge.net>2012-06-29 16:54:44 +0200
commit393178cdbca247c6ad077f7dab9a97d6817c625c (patch)
tree19a5ef8e39cffeee5523462392f0c318dd41da43 /xorg-server/dix
parent5c7f7efaa7efb95291562463d152412cbe7aaed1 (diff)
downloadvcxsrv-393178cdbca247c6ad077f7dab9a97d6817c625c.tar.gz
vcxsrv-393178cdbca247c6ad077f7dab9a97d6817c625c.tar.bz2
vcxsrv-393178cdbca247c6ad077f7dab9a97d6817c625c.zip
Solved problem of using wrong name for log file when -displayfd is used
Diffstat (limited to 'xorg-server/dix')
-rw-r--r--xorg-server/dix/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/dix/main.c b/xorg-server/dix/main.c
index 217117eb0..856622f5e 100644
--- a/xorg-server/dix/main.c
+++ b/xorg-server/dix/main.c
@@ -208,7 +208,6 @@ main(int argc, char *argv[], char *envp[])
#endif
InitBlockAndWakeupHandlers();
/* Perform any operating system dependent initializations you'd like */
- OsInit();
if (serverGeneration == 1) {
CreateWellKnownSockets();
for (i = 1; i < MAXCLIENTS; i++)
@@ -222,6 +221,7 @@ main(int argc, char *argv[], char *envp[])
ResetWellKnownSockets();
clients[0] = serverClient;
currentMaxClients = 1;
+ OsInit();
/* Initialize privates before first allocation */
dixResetPrivates();