#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.70 2002/07/19 14:57:39 stelian Exp $";
+ "$Id: tape.c,v 1.72 2003/01/10 10:52:48 stelian Exp $";
#endif /* not lint */
#include <config.h>
blocks = spcl.c_tapea - tapea_volume;
msg("Volume %d completed at: %s", tapeno, ctime(&tnow));
if (! compressed)
- msg("Volume %d %ld tape blocks (%.2fMB)\n", tapeno,
+ msg("Volume %d %ld blocks (%.2fMB)\n", tapeno,
blocks, ((double)blocks * TP_BSIZE / 1048576));
if (ttaken > 0) {
long volkb = (bytes_written - tapea_bytes) / 1024;
#ifdef RDUMP
if (host) {
rmtclose();
- while (rmtopen(tape, "O_RDONLY") < 0)
+ while (rmtopen(tape, O_RDONLY) < 0)
sleep(10);
rmtclose();
}
msg("Dumping volume %d on %s\n", tapeno, tape);
}
#ifdef RDUMP
- while ((tapefd = (host ? rmtopen(tape, "O_WRONLY|O_CREAT|O_TRUNC") : pipeout ?
+ while ((tapefd = (host ? rmtopen(tape, O_WRONLY|O_CREAT|O_TRUNC) : pipeout ?
fileno(stdout) :
OPEN(tape, O_WRONLY|O_CREAT|O_TRUNC, 0666))) < 0)
#else