]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/askdir.c
Tweak SD debug code
[bacula/bacula] / bacula / src / stored / askdir.c
index 5f17c78b8a48e74f1eebd42cfca040633275131e..38605b0a20d35ca50855f9745a463899a8035863 100644 (file)
@@ -342,7 +342,7 @@ bool dir_update_volume_info(DCR *dcr, bool label, bool update_LastWritten)
 
    /* Lock during Volume update */
    P(vol_info_mutex);
-   Dmsg1(100, "Update cat VolFiles=%d\n", dev->file);
+   Dmsg1(100, "Update cat VolBytes=%lld\n", vol->VolCatBytes);
    /* Just labeled or relabeled the tape */
    if (label) {
       bstrncpy(vol->VolCatStatus, "Append", sizeof(vol->VolCatStatus));
@@ -380,8 +380,6 @@ bool dir_update_volume_info(DCR *dcr, bool label, bool update_LastWritten)
    ok = true;
 
 bail_out:
-   /* ***FIXME*** remove for production */
-   sm_check(__FILE__, __LINE__, true);
    V(vol_info_mutex);
    return ok;
 }