From d718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3 Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 30 Sep 2010 15:32:32 +0000 Subject: Solved problem when having multiple network cards --- xorg-server/hw/xwin/winerror.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xorg-server/hw/xwin') diff --git a/xorg-server/hw/xwin/winerror.c b/xorg-server/hw/xwin/winerror.c index b6b780ec4..97ac23998 100644 --- a/xorg-server/hw/xwin/winerror.c +++ b/xorg-server/hw/xwin/winerror.c @@ -99,6 +99,7 @@ OsVendorVErrorF (const char *pszFormat, va_list va_args) * * Attempt to do last-ditch, safe, important cleanup here. */ +char g_FatalErrorMessage[1024]; void OsVendorFatalError (void) { @@ -114,8 +115,9 @@ OsVendorFatalError (void) winMessageBoxF ( "A fatal error has occurred and " PROJECT_NAME " will now exit.\n" \ - "Please open %s for more information.\n", - MB_ICONERROR, (g_pszLogFile?g_pszLogFile:"the logfile")); + "%s\n" + "Please open %s for more information.\n", + MB_ICONERROR, g_FatalErrorMessage, (g_pszLogFile?g_pszLogFile:"the logfile")); } -- cgit v1.2.3