vollistpart-init-error-20070927

FIXES 72144

correct an initialization failure in VolListPartitions
This commit is contained in:
Dan Hyde 2007-09-28 00:15:30 +00:00 committed by Derrick Brashear
parent 29d5a11a1f
commit aecaddba37

View File

@ -1650,7 +1650,6 @@ VolListPartitions(struct rx_call *acid, struct pIDs *partIds)
namehead[7] = '\0'; namehead[7] = '\0';
for (i = 0; i < 26; i++) { for (i = 0; i < 26; i++) {
namehead[6] = i + 'a'; namehead[6] = i + 'a';
if (VGetPartition(namehead, 0))
partIds->partIds[i] = VGetPartition(namehead, 0) ? i : -1; partIds->partIds[i] = VGetPartition(namehead, 0) ? i : -1;
} }