From 75f661271aeea6ca1d74083712ffb0499e54a33a Mon Sep 17 00:00:00 2001 From: Ru Wang Date: Sun, 25 Jun 2023 22:45:21 +0800 Subject: [PATCH] quick: fix argument zoneID is not applied to reportZones Signed-off-by: Ru Wang --- utils/C/openSeaChest/openSeaChest_ZBD.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/C/openSeaChest/openSeaChest_ZBD.c b/utils/C/openSeaChest/openSeaChest_ZBD.c index 4f7db16a..3404eef6 100644 --- a/utils/C/openSeaChest/openSeaChest_ZBD.c +++ b/utils/C/openSeaChest/openSeaChest_ZBD.c @@ -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: