]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/askdir.c
Tweak SD debug code
[bacula/bacula] / bacula / src / stored / askdir.c
index 3bf2d9cee9b9986cf55ab155c9a87ba46e4a45ac..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;
 }
@@ -519,8 +517,8 @@ bool dir_ask_sysop_to_create_appendable_volume(DCR *dcr)
       } else {
          if (stat == W_TIMEOUT || stat == W_MOUNT) {
             Mmsg(dev->errmsg, _(
-"Job %s waiting. Cannot find any appendable volumes.\n"
-"Please use the \"label\"  command to create a new Volume for:\n"
+"Job %s is waiting. Cannot find any appendable volumes.\n"
+"Please use the \"label\" command to create a new Volume for:\n"
 "    Storage:      %s\n"
 "    Pool:         %s\n"
 "    Media type:   %s\n"),