[2/3] msi: Downgrade an error.

Hans Leidekker hans at codeweavers.com
Tue Jan 10 09:55:23 CST 2012


---
 dlls/msi/media.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/msi/media.c b/dlls/msi/media.c
index d5ace5a..69bcb91 100644
--- a/dlls/msi/media.c
+++ b/dlls/msi/media.c
@@ -61,13 +61,11 @@ static BOOL source_matches_volume(MSIMEDIAINFO *mi, LPCWSTR source_root)
     PathStripToRootW(root);
     PathAddBackslashW(root);
 
-    if (!GetVolumeInformationW(root, volume_name, MAX_PATH + 1,
-                               NULL, NULL, NULL, NULL, 0))
+    if (!GetVolumeInformationW(root, volume_name, MAX_PATH + 1, NULL, NULL, NULL, NULL, 0))
     {
-        ERR("Failed to get volume information\n");
+        WARN("failed to get volume information for %s (%u)\n", debugstr_w(root), GetLastError());
         return FALSE;
     }
-
     return !strcmpiW( mi->volume_label, volume_name );
 }
 
-- 
1.7.7.3







More information about the wine-patches mailing list