]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/btape.c
Make dup jobs regress test work
[bacula/bacula] / bacula / src / stored / btape.c
index 622192c85bc1c20a7ff70efa1bb1c95b3fc74254..d8cbc56bde203f1c6074cddeb55536427868f187 100644 (file)
@@ -171,6 +171,7 @@ int main(int margc, char *margv[])
    bindtextdomain("bacula", LOCALEDIR);
    textdomain("bacula");
    init_stack_dump();
+   lmgr_init_thread();
 
    /* Sanity checks */
    if (TAPE_BSIZE % B_DEV_BSIZE != 0 || TAPE_BSIZE / B_DEV_BSIZE == 0) {
@@ -2287,7 +2288,7 @@ static void fillcmd()
                now = 1;          /* prevent divide error */
             }
             rate = dev->VolCatInfo.VolCatBytes / now;
-            Pmsg5(-1, _("Wrote block=%u, file,blk=%u,%u VolBytes=%s rate=%.1f KB/s\n"),
+            Pmsg5(-1, _("Wrote block=%u, file,blk=%u,%u VolBytes=%s rate=%sB/s\n"),
                block->BlockNumber, dev->file, dev->block_num,
                edit_uint64_with_commas(dev->VolCatInfo.VolCatBytes, ec1),
                edit_uint64_with_suffix(rate, ec2));