]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak SD debug code
authorKern Sibbald <kern@sibbald.com>
Thu, 18 Feb 2010 09:41:52 +0000 (10:41 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 18 Feb 2010 09:41:52 +0000 (10:41 +0100)
bacula/src/stored/askdir.c

index e3a3394ec41fd9f226d18ffe7cfb24b117b81034..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));