X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ndmp-src%2Famndma_tape_simulator.c;fp=ndmp-src%2Famndma_tape_simulator.c;h=60bde1c606b0578ac6fc0531711736b83501fdd3;hb=cd0b924f27312d57bd42f6c4fae2b795139e2d0b;hp=6e665dbd66163e6010e976d16ca4dca7ad559d57;hpb=011a59f5a54864108a16af570a6b287410597cc2;p=debian%2Famanda diff --git a/ndmp-src/amndma_tape_simulator.c b/ndmp-src/amndma_tape_simulator.c index 6e665db..60bde1c 100644 --- a/ndmp-src/amndma_tape_simulator.c +++ b/ndmp-src/amndma_tape_simulator.c @@ -447,7 +447,7 @@ ndmos_tape_read (struct ndm_session *sess, nb = count; - rc = read (ta->tape_fd, buf, nb); + rc = full_read (ta->tape_fd, buf, nb); if (rc < 0) { return NDMP9_IO_ERR; }