Commit 332361c1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 390ba2c3
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment