]> 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)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:32 +0000 (16:49 +0200)
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));