From d65ed17528178d89784f40318722adaf76d95c98 Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Thu, 2 Mar 2000 13:33:00 +0000 Subject: [PATCH] Fixed some DUMP: DUMP duplicate output. --- CHANGES | 8 +++++++- dump/main.c | 14 +++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index 13729b4..82a91a2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,10 @@ -$Id: CHANGES,v 1.47 2000/03/02 11:41:29 stelian Exp $ +$Id: CHANGES,v 1.48 2000/03/02 13:33:00 stelian Exp $ + +Changes between versions 0.4b15 and 0.4b16 (released ?????????????) +=================================================================== + +1. Fixed some several duplicate 'DUMP: DUMP:' in the + output of dump. Changes between versions 0.4b14 and 0.4b15 (released March 2, 2000) =================================================================== diff --git a/dump/main.c b/dump/main.c index 277e422..6addbb4 100644 --- a/dump/main.c +++ b/dump/main.c @@ -40,7 +40,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.18 2000/03/02 11:34:51 stelian Exp $"; + "$Id: main.c,v 1.19 2000/03/02 13:33:00 stelian Exp $"; #endif /* not lint */ #include @@ -664,9 +664,9 @@ main(int argc, char *argv[]) tnow = trewind(); if (pipeout) - msg("DUMP: %ld tape blocks\n", spcl.c_tapea); + msg("%ld tape blocks\n", spcl.c_tapea); else - msg("DUMP: %ld tape blocks on %d volumes(s)\n", + msg("%ld tape blocks on %d volumes(s)\n", spcl.c_tapea, spcl.c_volume); /* report dump performance, avoid division through zero */ @@ -679,15 +679,15 @@ main(int argc, char *argv[]) putdumptime(); #ifdef __linux__ - msg("DUMP: Date of this level %c dump: %s", level, + msg("Date of this level %c dump: %s", level, spcl.c_date == 0 ? "the epoch\n" : ctime4(&spcl.c_date)); #else - msg("DUMP: Date of this level %c dump: %s", level, + msg("Date of this level %c dump: %s", level, spcl.c_date == 0 ? "the epoch\n" : ctime(&spcl.c_date)); #endif - msg("DUMP: Date this dump completed: %s", ctime(&tnow)); + msg("Date this dump completed: %s", ctime(&tnow)); - msg("DUMP: Average transfer rate: %ld KB/s\n", xferrate / tapeno); + msg("Average transfer rate: %ld KB/s\n", xferrate / tapeno); broadcast("DUMP IS DONE!\7\7\n"); msg("DUMP IS DONE\n"); -- 2.39.5