get rid of "restor" in an error message!!!
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 6 May 1983 15:17:54 +0000 (07:17 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Fri, 6 May 1983 15:17:54 +0000 (07:17 -0800)
SCCS-vsn: sbin/restore/tape.c 3.14

usr/src/sbin/restore/tape.c

index 083e9dd..3d9569e 100644 (file)
@@ -1,7 +1,7 @@
 /* Copyright (c) 1983 Regents of the University of California */
 
 #ifndef lint
 /* Copyright (c) 1983 Regents of the University of California */
 
 #ifndef lint
-static char sccsid[] = "@(#)tape.c     3.13    (Berkeley)      83/05/03";
+static char sccsid[] = "@(#)tape.c     3.14    (Berkeley)      83/05/06";
 #endif
 
 #include "restore.h"
 #endif
 
 #include "restore.h"
@@ -228,7 +228,7 @@ gethdr:
                goto again;
        }
        if (tmpbuf.c_date != dumpdate || tmpbuf.c_ddate != dumptime) {
                goto again;
        }
        if (tmpbuf.c_date != dumpdate || tmpbuf.c_ddate != dumptime) {
-               fprintf(stderr, "Wrong dump date got: %swanted %s",
+               fprintf(stderr, "Wrong dump date\n\tgot: %s\twanted %s",
                        ctime(&tmpbuf.c_date), ctime(dumpdate));
                volno = 0;
                goto again;
                        ctime(&tmpbuf.c_date), ctime(dumpdate));
                volno = 0;
                goto again;
@@ -821,7 +821,7 @@ findinode(header, complain)
                        skipcnt++;
        }
        if (skipcnt > 0 && complain)
                        skipcnt++;
        }
        if (skipcnt > 0 && complain)
-               fprintf(stderr, "resync restor, skipped %d blocks\n", skipcnt);
+               fprintf(stderr, "resync restore, skipped %d blocks\n", skipcnt);
        skipcnt = 0;
 }
 
        skipcnt = 0;
 }