diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:01 +0000 |
commit | adc7f9a4ebdfe11d4cd6de9388b63dfe36450b39 (patch) | |
tree | 23eb7becc5360b2cbe16aa8d45529880067f3989 /hw/xwin/winerror.c | |
parent | 90f1536dd315cd265bfc7ef35058761a65a01734 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'hw/xwin/winerror.c')
-rw-r--r-- | hw/xwin/winerror.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/hw/xwin/winerror.c b/hw/xwin/winerror.c index c18f10dde..8a1e0df85 100644 --- a/hw/xwin/winerror.c +++ b/hw/xwin/winerror.c @@ -27,29 +27,21 @@ * * Authors: Harold L Hunt II */ -/* $XFree86: xc/programs/Xserver/hw/xwin/winerror.c,v 1.4 2003/02/12 15:01:38 alanh Exp $ */ +/* $XFree86: xc/programs/Xserver/hw/xwin/winerror.c,v 1.6 2003/10/02 13:30:10 eich Exp $ */ #include "win.h" -extern FILE *g_pfLog; - #ifdef DDXOSVERRORF void OsVendorVErrorF (const char *pszFormat, va_list va_args) { static pthread_mutex_t s_pmPrinting = PTHREAD_MUTEX_INITIALIZER; - /* Check we opened the log file first */ - if (g_pfLog == NULL) return; - /* Lock the printing mutex */ pthread_mutex_lock (&s_pmPrinting); /* Print the error message to a log file, could be stderr */ - vfprintf (g_pfLog, pszFormat, va_args); - - /* Flush after every write, to make updates show up quickly */ - fflush (g_pfLog); + LogVWrite(0, pszFormat, va_args); /* Unlock the printing mutex */ pthread_mutex_unlock (&s_pmPrinting); |