]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix for bug #1560 bcopy cannot find Volume
authorKern Sibbald <kern@sibbald.com>
Sat, 24 Apr 2010 15:02:44 +0000 (17:02 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 24 Apr 2010 15:03:29 +0000 (17:03 +0200)
bacula/src/stored/dev.c

index e7b8f3f1b55a438c3fea3e88b7451f62941594ce..5ce5712eff40713d4a985f8252e2262ed28f7322 100644 (file)
@@ -353,6 +353,7 @@ DEVICE::open(DCR *dcr, int omode)
       }
    }
    if (dcr) {
+      dcr->setVolCatName(dcr->VolumeName);
       VolCatInfo = dcr->VolCatInfo;    /* structure assign */
    }