OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:wbem/smis-providers?expand=0&rev=3
14 lines
626 B
Diff
14 lines
626 B
Diff
diff --git a/src/providers/Array-Profile/StorageConfigurationService.c b/src/providers/Array-Profile/StorageConfigurationService.c
|
|
index 6ed4acb..8ab72ca 100644
|
|
--- a/src/providers/Array-Profile/StorageConfigurationService.c
|
|
+++ b/src/providers/Array-Profile/StorageConfigurationService.c
|
|
@@ -280,7 +280,7 @@ bool IsExtendedPartition(const char *name, char *disk)
|
|
_SMI_TRACE(0,("Error calling getContVolInfo for primordial extent, rc = %d", rc));
|
|
return 0;
|
|
}
|
|
- if(rc = cVolInfo.type != DISK)
|
|
+ if(rc = cVolInfo.ctype != DISK)
|
|
{
|
|
_SMI_TRACE(0,("Error: Primordial extent is not a extended partition"));
|
|
return 0;
|