backward compatibility
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 29 Jan 1987 11:03:09 +0000 (03:03 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 29 Jan 1987 11:03:09 +0000 (03:03 -0800)
SCCS-vsn: sbin/dump/tape.c 5.7

usr/src/sbin/dump/tape.c

index da140a2..0191d0f 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)tape.c     5.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)tape.c     5.7 (Berkeley) %G%";
 #endif not lint
 
 #include <sys/file.h>
 #endif not lint
 
 #include <sys/file.h>
@@ -311,7 +311,9 @@ otape()
                spcl.c_count = blks + 1 - spcl.c_tapea + lastspclrec;
                spcl.c_volume++;
                spcl.c_type = TS_TAPE;
                spcl.c_count = blks + 1 - spcl.c_tapea + lastspclrec;
                spcl.c_volume++;
                spcl.c_type = TS_TAPE;
+               spcl.c_flags |= DR_NEWHEADER;
                spclrec();
                spclrec();
+               spcl.c_flags &=~ DR_NEWHEADER;
                if (tapeno > 1)
                        msg("Tape %d begins with blocks from ino %d\n",
                                tapeno, ino);
                if (tapeno > 1)
                        msg("Tape %d begins with blocks from ino %d\n",
                                tapeno, ino);