Hans Leidekker : msi: Downgrade an error.
Alexandre Julliard
julliard at winehq.org
Tue Jan 10 13:11:21 CST 2012
Module: wine
Branch: master
Commit: c7e5f0331f96d72ac67616a156a5dcab1a2fa0f5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c7e5f0331f96d72ac67616a156a5dcab1a2fa0f5
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Jan 10 16:55:23 2012 +0100
msi: Downgrade an error.
---
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 );
}
More information about the wine-cvs
mailing list