]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/vol_mgr.c
Fix patches from master
[bacula/bacula] / bacula / src / stored / vol_mgr.c
index a89584d137b1aee409f48045279c6a06925a2c0e..7d12be97cc63e44debee52e3f57841d52b2591c6 100644 (file)
@@ -443,10 +443,9 @@ VOLRES *reserve_volume(DCR *dcr, const char *VolumeName)
             vol->dev = dev;              /* point the Volume at our drive */
             dev->vol = vol;              /* point our drive at the Volume */
          } else {
-            Jmsg8(jcr, M_WARNING, 0, "Need volume for %s from other drive, "
+            Jmsg7(dcr->jcr, M_WARNING, 0, "Need volume from other drive, "
                "but swap not possible. Status: read=%d num_writers=%d "
                "num_reserve=%d swap=%d vol=%s from dev=%s to %s\n", 
-               dcr->is_write_acquire()?"write":"read",
                vol->dev->can_read(), vol->dev->num_writers,
                vol->dev->num_reserved(), vol->is_swapping(),
                VolumeName, vol->dev->print_name(), dev->print_name());