X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump%2Ftape.c;h=2390c860bbdd8b0f14905dd78c69aa150e770581;hp=65387e7ad461a5c21dc4e6cb4ef6563dd02975b5;hb=7422942fcabc3e5735e850fce8113e9751ddd399;hpb=a4f547cdfcac72c75d5e147fa4592652229fd0a1 diff --git a/dump/tape.c b/dump/tape.c index 65387e7..2390c86 100644 --- a/dump/tape.c +++ b/dump/tape.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.38 2001/03/20 20:25:27 stelian Exp $"; + "$Id: tape.c,v 1.39 2001/03/23 14:40:12 stelian Exp $"; #endif /* not lint */ #include @@ -253,7 +253,8 @@ tperror(int errnum) quit("Cannot recover\n"); /* NOTREACHED */ } - msg("write error %d blocks into volume %d: %s\n", blocksthisvol, tapeno, strerror(errnum)); + msg("write error %d blocks into volume %d: %s\n", + blocksthisvol, tapeno, strerror(errnum)); broadcast("DUMP WRITE ERROR!\n"); if (query("Do you want to rewrite this volume?")) { msg("Closing this volume. Prepare to restart with new media;\n"); @@ -297,12 +298,12 @@ do_stats(void) long txfrate = volkb / ttaken; msg("Volume %d took %d:%02d:%02d\n", tapeno, ttaken / 3600, (ttaken % 3600) / 60, ttaken % 60); - msg("Volume %d transfer rate: %ld KB/s\n", tapeno, + msg("Volume %d transfer rate: %ld kB/s\n", tapeno, txfrate); xferrate += txfrate; if (compressed) { double rate = .0005 + (double) blocks / (double) volkb; - msg("Volume %d %ldKB uncompressed, %ldKB compressed," + msg("Volume %d %ldKB uncompressed, %ldkB compressed," " %1.3f:1\n", tapeno, blocks, volkb, rate); }