Alexandre Julliard : kernel32: Fix a trace to print the correct error code.

Alexandre Julliard julliard at winehq.org
Thu Nov 4 12:52:53 CDT 2010


Module: wine
Branch: master
Commit: 332361c1bbc4902ed82e35f77005d3b012509f18
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=332361c1bbc4902ed82e35f77005d3b012509f18

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Nov  4 16:43:21 2010 +0100

kernel32: Fix a trace to print the correct error code.

---

 dlls/kernel32/volume.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index 19858cf..106b4fb 100644
--- a/dlls/kernel32/volume.c
+++ b/dlls/kernel32/volume.c
@@ -626,7 +626,7 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label, DWORD label_len,
         if (serial) *serial = VOLUME_GetSuperblockSerial( &nt_name, type, superblock );
         goto fill_fs_info;
     }
-    else TRACE( "cannot open device %s: err %d\n", debugstr_w(nt_name.Buffer), GetLastError() );
+    else TRACE( "cannot open device %s: %x\n", debugstr_w(nt_name.Buffer), status );
 
     /* we couldn't open the device, fallback to default strategy */
 




More information about the wine-cvs mailing list