From fe6b0121717197d291db4348dd76e92756d822d5 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 7 Feb 2004 22:55:01 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=2979 --- lib/util.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.C b/lib/util.C index 7992807b25..b1e3f761f4 100755 --- a/lib/util.C +++ b/lib/util.C @@ -608,7 +608,7 @@ char* windows_format_error_string( unsigned long dwError, char* pszBuf, int iSiz else { lpszTemp[lstrlen(lpszTemp)-2] = TEXT('\0'); //remove cr and newline character - sprintf( pszBuf, TEXT("%s (0x%x)"), lpszTemp, GetLastError() ); + sprintf( pszBuf, TEXT("%s (0x%x)"), lpszTemp, dwError ); } if ( lpszTemp )