Imported Upstream version 2.5.2p1
[debian/amanda] / tape-src / output-tape.c
index a344ac31a2e0f11b7ae7b9cc6264325c58c27cee..cc8795788cbd7679a7fbb1ea5fde08100f092930 100644 (file)
@@ -80,7 +80,7 @@ tape_tapefd_fsf(
     char *buffer = NULL;
     int len = 0;
 
-    buflen = MAX_TAPE_BLOCK_BYTES;
+    buflen = getconf_readblocksize() * 1024;
     buffer = alloc(buflen);
 
     while(--count >= 0) {