X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=bacula%2Fsrc%2Fstored%2Fbutil.c;h=ab5f957aa16f56c288dd700b94720048bf69a7f4;hb=306f4ac1284013a382baf5b69381f060ce910d5c;hp=9405aab2d6a8578f368f7a2276be743abe2f2e1b;hpb=93355f35e2993c6af637cc7ec8004b05ad91f942;p=bacula%2Fbacula diff --git a/bacula/src/stored/butil.c b/bacula/src/stored/butil.c index 9405aab2d6..ab5f957aa1 100644 --- a/bacula/src/stored/butil.c +++ b/bacula/src/stored/butil.c @@ -89,7 +89,8 @@ JCR *setup_jcr(const char *name, char *dev_name, BSR *bsr, jcr->bsr = bsr; jcr->VolSessionId = 1; jcr->VolSessionTime = (uint32_t)time(NULL); - jcr->NumVolumes = 0; + jcr->NumReadVolumes = 0; + jcr->NumWriteVolumes = 0; jcr->JobId = 0; jcr->JobType = JT_CONSOLE; jcr->JobLevel = L_FULL;