From: Derrick Brashear Date: Thu, 22 Aug 2002 18:54:46 +0000 (+0000) Subject: STABLE12-vsprocs-checkvolume-bug-20020822 X-Git-Tag: openafs-stable-1_2_7~35 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=735f55703f1ade631a00439477f0b91ae919114a;p=packages%2Fo%2Fopenafs.git STABLE12-vsprocs-checkvolume-bug-20020822 if we're going to make a string we should make it where we expect it (cherry picked from commit 0e05e114a663acc138d1be7d87f2631c3460de40) --- diff --git a/src/volser/vsprocs.c b/src/volser/vsprocs.c index bd99de96c..2d4d2d8ea 100644 --- a/src/volser/vsprocs.c +++ b/src/volser/vsprocs.c @@ -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);