]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/mount.c
Rewrite some SD subroutines as class members
[bacula/bacula] / bacula / src / stored / mount.c
index c77da4c2562d335780a3177b97e71460bb2bbad0..f59bb6ae370ee6ace0e08b90155012e4a7ef6d0a 100644 (file)
@@ -265,7 +265,7 @@ read_volume:
     */
    recycle = strcmp(dev->VolCatInfo.VolCatStatus, "Recycle") == 0;
    if (dev->VolHdr.LabelType == PRE_LABEL || recycle) {
-      if (!rewrite_volume_label(dcr, recycle)) {
+      if (!dcr->rewrite_volume_label(recycle)) {
          mark_volume_in_error();
          goto mount_next_vol;
       }