summaryrefslogtreecommitdiff
path: root/dix/main.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-11-21 12:39:55 +1000
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-24 10:17:40 +1000
commite078901a4eca02bd3e7a80d9462dafbca939a187 (patch)
treee0eef41c1f6afec8835212a106d56e9e77e80e45 /dix/main.c
parentd939f2482e71ad20bac28b7aa4b2e8c8196e9d65 (diff)
dix: Enable core devices in InitCoreDevices already.
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com> Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dix/main.c')
-rw-r--r--dix/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dix/main.c b/dix/main.c
index 7bd91e0c2..ee2e10db5 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -361,8 +361,7 @@ int main(int argc, char *argv[], char *envp[])
InitCoreDevices();
InitInput(argc, argv);
- if (InitAndStartDevices() != Success)
- FatalError("failed to initialize core devices");
+ InitAndStartDevices();
dixSaveScreens(serverClient, SCREEN_SAVER_FORCER, ScreenSaverReset);