summaryrefslogtreecommitdiff
path: root/hw/xwin/winerror.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-05-02 14:07:31 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-05-02 14:07:31 +0000
commitbaa0cfc15442287557e44fa2614d89ab0b5c2539 (patch)
treebf44fd23bd4abddfd947da3e9897a7fc7f13605e /hw/xwin/winerror.c
parentbc977945a53206d70ef9817d6ede4137eb5f7e3c (diff)
Print correct logfile in FatalError messagesco_port_update-base
Diffstat (limited to 'hw/xwin/winerror.c')
-rw-r--r--hw/xwin/winerror.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/xwin/winerror.c b/hw/xwin/winerror.c
index 8436d7f92..696142ed2 100644
--- a/hw/xwin/winerror.c
+++ b/hw/xwin/winerror.c
@@ -32,6 +32,7 @@
/* References to external symbols */
extern char * g_pszCommandLine;
+extern char * g_pszLogFile;
extern Bool g_fSilentFatalError;
@@ -80,8 +81,8 @@ OsVendorFatalError (void)
winMessageBoxF (
"A fatal error has occurred and " PROJECT_NAME " will now exit.\n" \
- "Please open /tmp/XWin.log for more information.\n",
- MB_ICONERROR);
+ "Please open %s for more information.\n",
+ MB_ICONERROR, (g_pszLogFile?g_pszLogFile:"the logfile"));
}
#endif