Changeset 43897 in vbox
- Timestamp:
- Nov 16, 2012 1:41:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp
r43835 r43897 571 571 if (zh) 572 572 { 573 unsigned int cChildren; 574 nvlist_t **nvChildren, *nvRoot, *nvConfig = mZpoolGetConfig(zh, NULL); 575 Assert(!nvlist_lookup_nvlist(nvConfig, ZPOOL_CONFIG_VDEV_TREE, &nvRoot)); 576 if (!nvlist_lookup_nvlist_array(nvRoot, ZPOOL_CONFIG_CHILDREN, &nvChildren, &cChildren)) 573 unsigned int cChildren = 0; 574 nvlist_t **nvChildren = NULL; 575 nvlist_t *nvRoot = NULL; 576 nvlist_t *nvConfig = mZpoolGetConfig(zh, NULL); 577 if ( !nvlist_lookup_nvlist(nvConfig, ZPOOL_CONFIG_VDEV_TREE, &nvRoot) 578 && !nvlist_lookup_nvlist_array(nvRoot, ZPOOL_CONFIG_CHILDREN, &nvChildren, &cChildren)) 577 579 { 578 580 for (unsigned int i = 0; i < cChildren; ++i)
Note:
See TracChangeset
for help on using the changeset viewer.