mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
vollistpart-init-error-20070927
FIXES 72144 correct an initialization failure in VolListPartitions
This commit is contained in:
parent
29d5a11a1f
commit
aecaddba37
@ -1650,8 +1650,7 @@ 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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user