        errno = EIO;
        return -1;
     }
-@@ -792,10 +879,10 @@
+@@ -792,10 +875,10 @@
        atEOF=false;
     }
  

       current_block = -1;
       Dmsg0(dbglevel, "EOT during reading\n");
       return -1;
@@ -860,36 +946,25 @@
       return -1;
    }
 

 int faketape::close()
 {
    check_eof();
@@ -756,18 +838,15 @@
    fd = -1;
    return 0;
 }
