Skip to content

Commit

Permalink
Merge pull request #116 from wangru-stx/quick/apply_zone_id
Browse files Browse the repository at this point in the history
quick: fix argument zoneID is not applied to reportZones
  • Loading branch information
DebabrataSTX authored Jun 27, 2023
2 parents 3fc1fb6 + 75f6612 commit 1da51e7
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 1da51e7

Please sign in to comment.