Imported Upstream version 3.3.0
[debian/amanda] / ndmp-src / amndma_tape_simulator.c
index 6e665dbd66163e6010e976d16ca4dca7ad559d57..60bde1c606b0578ac6fc0531711736b83501fdd3 100644 (file)
@@ -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;
        }