From 871ede100ce41d967ebbb4e2d67c6b7587e16f76 Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Fri, 27 Apr 2001 12:23:23 +0000 Subject: [PATCH] Cleanups. --- dump/main.c | 11 +++++++---- restore/tape.c | 4 ++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dump/main.c b/dump/main.c index 506c270..0c89673 100644 --- a/dump/main.c +++ b/dump/main.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.46 2001/04/24 10:59:12 stelian Exp $"; + "$Id: main.c,v 1.47 2001/04/27 12:23:23 stelian Exp $"; #endif /* not lint */ #include @@ -604,10 +604,13 @@ main(int argc, char *argv[]) nonodump = spcl.c_level < honorlevel; - msg("Label: %s\n", spcl.c_label); + if (!sizeest) { + msg("Label: %s\n", spcl.c_label); - if (compressed) - msg("Compressing output at compression level %d\n", compressed); + if (compressed) + msg("Compressing output at compression level %d\n", + compressed); + } #if defined(SIGINFO) (void)signal(SIGINFO, statussig); diff --git a/restore/tape.c b/restore/tape.c index e78e959..e5e995d 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.35 2001/04/26 08:49:56 stelian Exp $"; + "$Id: tape.c,v 1.36 2001/04/27 12:23:23 stelian Exp $"; #endif /* not lint */ #include @@ -1792,7 +1792,7 @@ findtapeblksize(void) } ntrec = i / TP_BSIZE; numtrec = ntrec; - fprintf(stderr, "Tape block size is %ld\n", ntrec); + Vprintf(stdout, "Tape block size is %ld\n", ntrec); } /* -- 2.39.5