From 332361c1bbc4902ed82e35f77005d3b012509f18 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 4 Nov 2010 16:43:21 +0100 Subject: [PATCH] kernel32: Fix a trace to print the correct error code. --- dlls/kernel32/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c index 19858cf8efd..106b4fb5044 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 */ -- 2.11.4.GIT