]> git.sur5r.net Git - bacula/bacula/commitdiff
btape: tweak output
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 3 Sep 2009 16:37:55 +0000 (18:37 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 3 Sep 2009 16:37:55 +0000 (18:37 +0200)
bacula/src/stored/btape.c

index 2d72da5dd005b0793bfbe7e59bedbf9f0c8d8bad..b01a047ce2bda531cf83a58c3b57608c960be2c6 100644 (file)
@@ -892,7 +892,7 @@ static bool speed_test_raw(fill_mode_t mode, uint64_t nb_gb, uint32_t nb)
       for ( ;jcr->JobBytes < nb_gb; ) {
          stat = dev->d_write(dev->fd(), block->buf, block->buf_len);
          if (stat == (int)block->buf_len) {
-            if ((block_num++ % 1000) == 0) {
+            if ((block_num++ % 500) == 0) {
                printf("+");
                fflush(stdout);
             }