From 9b979919c487b3a56e8bef76d75f51546ed23f90 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Mon, 3 May 1999 13:53:16 +0000 Subject: [PATCH] temporary workaround for bin/11464 --- sbin/dump/tape.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index e7b66c75867a..485e631daec4 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 @@ -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++;