mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
msi: Downgrade an error.
This commit is contained in:
parent
b13195ce4e
commit
c7e5f0331f
1 changed files with 2 additions and 4 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue