aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/os/log.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-30 15:32:32 +0000
committermarha <marha@users.sourceforge.net>2010-09-30 15:32:32 +0000
commitd718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3 (patch)
tree824bb49a4ca6d26a1b8f2a6b5b1b42d214dae66b /xorg-server/os/log.c
parent7c8072b9a9a9a4f23bfa6e84e44bbfad90c4565f (diff)
downloadvcxsrv-d718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3.tar.gz
vcxsrv-d718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3.tar.bz2
vcxsrv-d718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3.zip
Solved problem when having multiple network cards
Diffstat (limited to 'xorg-server/os/log.c')
-rw-r--r--xorg-server/os/log.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xorg-server/os/log.c b/xorg-server/os/log.c
index 42a4efefa..0d45b7791 100644
--- a/xorg-server/os/log.c
+++ b/xorg-server/os/log.c
@@ -534,6 +534,8 @@ VAuditF(const char *f, va_list args)
free(prefix);
}
+extern char g_FatalErrorMessage[1024];
+
void
FatalError(const char *f, ...)
{
@@ -549,6 +551,9 @@ FatalError(const char *f, ...)
#ifdef __APPLE__
(void)vsnprintf(__crashreporter_info_buff__, sizeof(__crashreporter_info_buff__), f, args);
#endif
+#ifdef WIN32
+ vsnprintf(g_FatalErrorMessage, 1024, f, args);
+#endif
VErrorF(f, args);
va_end(args);
ErrorF("\n");