X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Foptr.c;h=de1d6f6fde171a16b6d19494c8f5ee1b3b4d6955;hb=365a7c7c86abbe2b0a1e76e4e9fc8523bd73a8a1;hp=fdda1c4e594ef67297377982731e2ec7eeff4cec;hpb=a2c9bd286cf061b9c6e6565474c1af77e8cf2d1e;p=dump.git 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;