From: Dan Hyde Date: Fri, 28 Sep 2007 00:15:30 +0000 (+0000) Subject: vollistpart-init-error-20070927 X-Git-Tag: BP-openafs-windows-kdfs-ifs~477 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=aecaddba376c5e2f15a7cb52f1777b07546695d4;p=packages%2Fo%2Fopenafs.git vollistpart-init-error-20070927 FIXES 72144 correct an initialization failure in VolListPartitions --- diff --git a/src/volser/volprocs.c b/src/volser/volprocs.c index 1b772b8e7..f421b473e 100644 --- a/src/volser/volprocs.c +++ b/src/volser/volprocs.c @@ -1650,8 +1650,7 @@ VolListPartitions(struct rx_call *acid, struct pIDs *partIds) namehead[7] = '\0'; for (i = 0; i < 26; i++) { 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;