summaryrefslogtreecommitdiff
path: root/os/log.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-11-21 21:23:17 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2006-11-21 21:23:17 +0000
commit33ff4cec5ff7533ec725f71d357c096dfb0acb79 (patch)
tree1138cf2c7c67dbd917ecacb3062aeca2c71a70a8 /os/log.c
parentca2874b273232d9f51881b1cd754ed6847bfaf47 (diff)
Issue CloseDownDevices() in os/log.c and remove from dix/main.c.
This ensures that all calls to FatalError() will shutdown the input devices.
Diffstat (limited to 'os/log.c')
-rw-r--r--os/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/log.c b/os/log.c
index 05e542f08..b1d628c3f 100644
--- a/os/log.c
+++ b/os/log.c
@@ -89,6 +89,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include <stdlib.h> /* for malloc() */
#include <errno.h>
+#include "input.h"
#include "site.h"
#include "opaque.h"
@@ -404,6 +405,7 @@ void
AbortServer(void)
{
OsCleanup(TRUE);
+ CloseDownDevices();
AbortDDX();
fflush(stderr);
if (CoreDump)