]> git.wh0rd.org - dump.git/commitdiff
Cleanups.
authorStelian Pop <stelian@popies.net>
Fri, 27 Apr 2001 12:23:23 +0000 (12:23 +0000)
committerStelian Pop <stelian@popies.net>
Fri, 27 Apr 2001 12:23:23 +0000 (12:23 +0000)
dump/main.c
restore/tape.c

index 506c270cbf09a221f5cfffdf1a202f9306a4a223..0c896738608f9e8b318db313cd31a7a6262f84ab 100644 (file)
@@ -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 <config.h>
@@ -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);
index e78e959ead499f665a807b11a6d1d4cd9b181e8f..e5e995d71bfe9fbe7d98521a3b8744efea60f7c2 100644 (file)
@@ -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 <config.h>
@@ -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);
 }
 
 /*