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

This commit is contained in:
Alexandre Julliard 2010-11-04 16:43:21 +01:00
parent 390ba2c338
commit 332361c1bb

View File

@ -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 */