diff options
author | marha <marha@users.sourceforge.net> | 2011-08-01 09:05:15 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-08-01 09:05:15 +0200 |
commit | f87ad0cdc41af88f134475ab50b0d604004d9cdc (patch) | |
tree | 72e8cd139cf22d66d77c6a52f72b3d5c11c330f3 /xorg-server/os | |
parent | 28257038c4f13ac26127d536c14c922aa036efed (diff) | |
download | vcxsrv-f87ad0cdc41af88f134475ab50b0d604004d9cdc.tar.gz vcxsrv-f87ad0cdc41af88f134475ab50b0d604004d9cdc.tar.bz2 vcxsrv-f87ad0cdc41af88f134475ab50b0d604004d9cdc.zip |
mesa xserver pixman xkeyboard-config git update 1 aug 2011
Diffstat (limited to 'xorg-server/os')
-rw-r--r-- | xorg-server/os/log.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xorg-server/os/log.c b/xorg-server/os/log.c index 4a310e64d..f51976284 100644 --- a/xorg-server/os/log.c +++ b/xorg-server/os/log.c @@ -231,9 +231,11 @@ LogInit(const char *fname, const char *backup) } void -LogClose(void) +LogClose(enum ExitCode error) { if (logFile) { + ErrorF("Server terminated %s (%d). Closing log file.\n", + (error == EXIT_NO_ERROR) ? "successfully" : "with error", error); fclose(logFile); logFile = NULL; } @@ -411,7 +413,7 @@ AbortServer(void) CloseWellKnownConnections(); OsCleanup(TRUE); CloseDownDevices(); - AbortDDX(); + AbortDDX(EXIT_ERR_ABORT); fflush(stderr); if (CoreDump) OsAbort(); |