]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-vsprocs-checkvolume-bug-20020822
authorDerrick Brashear <shadow@dementia.org>
Thu, 22 Aug 2002 18:54:46 +0000 (18:54 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 22 Aug 2002 18:54:46 +0000 (18:54 +0000)
if we're going to make a string we should make it where we expect it

(cherry picked from commit 0e05e114a663acc138d1be7d87f2631c3460de40)

src/volser/vsprocs.c

index bd99de96c284e4499f221156cdb4b5e55af392bf..2d4d2d8ea4150fc2359a541f9a70d217c6520b72 100644 (file)
@@ -3810,7 +3810,7 @@ static afs_int32 CheckVolume(volumeinfo, aserver, apart, modentry, maxvolid)
               if (entry.serverFlags[j] & ITSROVOL) {
                  /* Verify this volume exists and print message we are orphaning it */
                  if (pass == 1) {
-                    MapPartIdIntoName(apart, entry.serverPartition[j]);
+                    MapPartIdIntoName(apart, pname);
                     fprintf(STDERR,"*** Warning: Orphaned RO volume %u exists on %s %s\n",
                             entry.volumeId[ROVOL],
                             hostutil_GetNameByINet(entry.serverNumber[j]), pname);