vos-shadow-print-status-correctly-20040729
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Thu, 29 Jul 2004 19:51:20 +0000 (19:51 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 29 Jul 2004 19:51:20 +0000 (19:51 +0000)
we were printing that volumes were shadowed to partition partition
instead of server partition

src/volser/vos.c

index 5c4d4e2..1c3732f 100644 (file)
@@ -2246,7 +2246,7 @@ ShadowVolume(as)
     MapPartIdIntoName(frompart, fromPartName);
     fprintf(STDOUT, "Volume %lu shadowed from %s %s to %s %s \n",
            (unsigned long)volid, as->parms[1].items->data, fromPartName,
-           as->parms[4].items->data, toPartName);
+           as->parms[3].items->data, toPartName);
 
     return 0;
 }