X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump%2Foptr.c;h=de1d6f6fde171a16b6d19494c8f5ee1b3b4d6955;hp=fdda1c4e594ef67297377982731e2ec7eeff4cec;hb=8eb05297aafdfd88bbd946a35d4db771604503bd;hpb=f40dd59c0201c2fd823e1efb8d737fe3399c8fd9 diff --git a/dump/optr.c b/dump/optr.c index fdda1c4..de1d6f6 100644 --- a/dump/optr.c +++ b/dump/optr.c @@ -40,7 +40,7 @@ #ifndef lint static const char rcsid[] = - "$Id: optr.c,v 1.9 2000/01/26 11:38:08 stelian Exp $"; + "$Id: optr.c,v 1.10 2000/02/10 09:42:32 stelian Exp $"; #endif /* not lint */ #include @@ -328,6 +328,8 @@ timeest(void) tschedule = tnow + 300; if (blockswritten < 500) return; + if (blockswritten > tapesize) + tapesize = blockswritten; deltat = tstart_writing - tnow + (1.0 * (tnow - tstart_writing)) / blockswritten * tapesize;