X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=tape-src%2Ftapetype.c;h=50340ad850c4882daaef000c3acd5894c79cb96c;hb=bde83ad58d800ae004caccab6531234272181da2;hp=ece9686d7bc29d0a65cea3625368dc7c810363de;hpb=84ab93cfdcac04c7c0511ef70eb6242cb78671a4;p=debian%2Famanda diff --git a/tape-src/tapetype.c b/tape-src/tapetype.c index ece9686..50340ad 100644 --- a/tape-src/tapetype.c +++ b/tape-src/tapetype.c @@ -25,7 +25,7 @@ * University of Maryland at College Park */ /* - * $Id: tapetype.c,v 1.3.2.3.4.3.2.9.2.2 2004/11/10 16:28:43 martinea Exp $ + * $Id: tapetype.c,v 1.3.2.3.4.3.2.9.2.3 2005/10/02 13:48:42 martinea Exp $ * * tests a tape in a given tape unit and prints a tapetype entry for * it. */ @@ -510,7 +510,7 @@ int main(argc, argv) /* * Inform about estimated time needed to run the remaining of this program */ - fprintf(stderr, "Estimated time to write 2 * %d Mbyte: ", estsize / 1024); + fprintf(stderr, "Estimated time to write 2 * %lu Mbyte: ", (unsigned long) (estsize / 1024)); pass1time = (time_t)(2.0 * pass2time * estsize / (1.0 * pass0size * blockkb)); /* avoid overflow and underflow by doing math in floating point */ fprintf(stderr, "%ld sec = ", pass1time);