X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=4710f889d1cdae269f1c3c586eb594cdc401c650;hp=45d156f5abd02dfeff2b2fd718f9daf7b29ff8f6;hb=2359fe7e917ea8a52c5d523c77d29bddf6f82fce;hpb=67febcc5e8d252f6f13784dfc2b540bacd4dda77 diff --git a/restore/tape.c b/restore/tape.c index 45d156f..4710f88 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.99 2010/06/11 11:19:17 stelian Exp $"; + "$Id: tape.c,v 1.100 2010/12/06 14:26:51 stelian Exp $"; #endif /* not lint */ #include @@ -3336,11 +3336,14 @@ ReReadInodeFromTape(dump_ino_t theino) cntloop++; gethead(&spcl); } while (!(spcl.c_inumber == theino && spcl.c_type == TS_INODE && spcl.c_date == dumpdate)); + + tpblksread = spcl.c_tapea + spcl.c_volume; #ifdef DEBUG_QFA fprintf(stderr, "DEBUG: %ld reads\n", cntloop); fprintf(stderr, "DEBUG: bufsize %ld\n", bufsize); fprintf(stderr, "DEBUG: ntrec %ld\n", ntrec); - fprintf(stderr, "DEBUG: %ld reads\n", cntloop); + fprintf(stderr, "DEBUG: tapea %d\n", spcl.c_tapea); + fprintf(stderr, "DEBUG: tpblksread %ld\n", tpblksread); #endif findinode(&spcl); noresyncmesg = 0;