summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/xwin/InitOutput.c6
-rw-r--r--hw/xwin/winerror.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/hw/xwin/InitOutput.c b/hw/xwin/InitOutput.c
index d26ebb0bf..a7773c5b8 100644
--- a/hw/xwin/InitOutput.c
+++ b/hw/xwin/InitOutput.c
@@ -219,7 +219,7 @@ ddxGiveUp(enum ExitCode error)
#endif
if (!g_fLogInited) {
- g_pszLogFile = LogInit(g_pszLogFile, NULL);
+ g_pszLogFile = LogInit(g_pszLogFile, ".old");
g_fLogInited = TRUE;
}
LogClose(error);
@@ -662,7 +662,7 @@ OsVendorInit(void)
* avoid the second call
*/
g_fLogInited = TRUE;
- g_pszLogFile = LogInit(g_pszLogFile, NULL);
+ g_pszLogFile = LogInit(g_pszLogFile, ".old");
}
LogSetParameter(XLOG_FLUSH, 1);
LogSetParameter(XLOG_VERBOSITY, g_iLogVerbose);
@@ -904,7 +904,7 @@ ddxUseMsg(void)
/* Log file will not be opened for UseMsg unless we open it now */
if (!g_fLogInited) {
- g_pszLogFile = LogInit(g_pszLogFile, NULL);
+ g_pszLogFile = LogInit(g_pszLogFile, ".old");
g_fLogInited = TRUE;
}
LogClose(EXIT_NO_ERROR);
diff --git a/hw/xwin/winerror.c b/hw/xwin/winerror.c
index ff2919c27..47ac20246 100644
--- a/hw/xwin/winerror.c
+++ b/hw/xwin/winerror.c
@@ -85,7 +85,7 @@ OsVendorFatalError(const char *f, va_list args)
if (!g_fLogInited) {
g_fLogInited = TRUE;
- g_pszLogFile = LogInit(g_pszLogFile, NULL);
+ g_pszLogFile = LogInit(g_pszLogFile, ".old");
}
LogClose(EXIT_ERR_ABORT);