diff options
author | mjacob <mjacob@FreeBSD.org> | 1999-05-03 13:53:16 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1999-05-03 13:53:16 +0000 |
commit | c1677f05fc8fb26f1c771a94da0a0db4a1196870 (patch) | |
tree | 1d4dee9303a20bb8a3181a9bf9c6209706cd272f | |
parent | 3daf8013027ebb2bd69617c96aa2ccf62d815853 (diff) | |
download | FreeBSD-src-c1677f05fc8fb26f1c771a94da0a0db4a1196870.zip FreeBSD-src-c1677f05fc8fb26f1c771a94da0a0db4a1196870.tar.gz |
temporary workaround for bin/11464
-rw-r--r-- | sbin/dump/tape.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index e7b66c7..485e631 100644 --- a/sbin/dump/tape.c +++ b/sbin/dump/tape.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95"; #endif static const char rcsid[] = - "$Id: tape.c,v 1.9 1998/06/15 06:58:11 charnier Exp $"; + "$Id: tape.c,v 1.10 1998/09/15 10:25:50 gibbs Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -174,7 +174,11 @@ writerec(dp, isspcl) slp->req[trecno].dblk = (daddr_t)0; slp->req[trecno].count = 1; +#ifndef __alpha__ *(union u_spcl *)(*(nextblock)++) = *(union u_spcl *)dp; +#else + bcopy(dp, *(nextblock)++, sizeof (union u_spcl)); +#endif if (isspcl) lastspclrec = spcl.c_tapea; trecno++; |