From aecaddba376c5e2f15a7cb52f1777b07546695d4 Mon Sep 17 00:00:00 2001 From: Dan Hyde Date: Fri, 28 Sep 2007 00:15:30 +0000 Subject: [PATCH] vollistpart-init-error-20070927 FIXES 72144 correct an initialization failure in VolListPartitions --- src/volser/volprocs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/volser/volprocs.c b/src/volser/volprocs.c index 1b772b8e7a..f421b473eb 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;