vsprocs-checkvolume-bug-20020822
authorDerrick Brashear <shadow@dementia.org>
Thu, 22 Aug 2002 18:53:43 +0000 (18:53 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 22 Aug 2002 18:53:43 +0000 (18:53 +0000)
if we're going to make a string we should make it where we expect it

src/volser/vsprocs.c

index 7f057a1..4759ab2 100644 (file)
@@ -3732,7 +3732,7 @@ static afs_int32 CheckVolume(volintInfo *volumeinfo, afs_int32 aserver, afs_int3
               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);