Skip to content

Commit

Permalink
quick: fix argument zoneID is not applied to reportZones
Browse files Browse the repository at this point in the history
Signed-off-by: Ru Wang <ru.wang@seagate.com>
  • Loading branch information
wangru-stx committed Jun 25, 2023
1 parent 3fc1fb6 commit 75f6612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/C/openSeaChest/openSeaChest_ZBD.c
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,7 @@ int32_t main(int argc, char *argv[])
perror("cannot allocate memory for zone descriptors");
exit(UTIL_EXIT_OPERATION_FAILURE);
}
int reportRet = get_Zone_Descriptors(&deviceList[deviceIter], REPORT_ZONES_REPORTING_MODE_FLAG, 0, numberOfZones, zoneDescriptors);
int reportRet = get_Zone_Descriptors(&deviceList[deviceIter], REPORT_ZONES_REPORTING_MODE_FLAG, ZONE_ID_FLAG, numberOfZones, zoneDescriptors);
switch (reportRet)
{
case SUCCESS:
Expand Down

0 comments on commit 75f6612

Please sign in to comment.