diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-21 10:15:07 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-21 10:15:07 +0000 |
commit | c8b2e095b7f05a824c1524e06476414293c06672 (patch) | |
tree | 79394620ad77e6d99d443227470902c9c99e80d4 /sys | |
parent | 129d165daea362c4e7717464eab78a6f0ac2ca06 (diff) |
pefo you're a clown!!
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arc/arc/disksubr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arc/arc/disksubr.c b/sys/arch/arc/arc/disksubr.c index 8352185c72d..a0f9134b79a 100644 --- a/sys/arch/arc/arc/disksubr.c +++ b/sys/arch/arc/arc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.2 1996/08/26 11:01:34 pefo Exp $ */ +/* $OpenBSD: disksubr.c,v 1.3 1996/09/21 10:15:06 pefo Exp $ */ /* $NetBSD: disksubr.c,v 1.3 1995/04/22 12:43:22 cgd Exp $ */ /* @@ -102,7 +102,7 @@ readdisklabel(dev, strat, lp, clp) if (biowait(bp)) { msg = "dos partition I/O error"; goto done; - } else if (*(unsigned int *)(bp->b_data) == 0x8ec033fa) { + } else if (*(unsigned int *)(bp->b_data) == 0x8efac033) { /* XXX how do we check veracity/bounds of this? */ bcopy(bp->b_data + DOSPARTOFF, dp, NDOSPART * sizeof(*dp)); for (i = 0; i < NDOSPART; i++, dp++) { @@ -229,7 +229,7 @@ writedisklabel(dev, strat, lp, clp) (*strat)(bp); if (((error = biowait(bp)) == 0) - && *(unsigned int *)(bp->b_data) == 0x8ec033fa) { + && *(unsigned int *)(bp->b_data) == 0x8efac033) { /* XXX how do we check veracity/bounds of this? */ bcopy(bp->b_data + DOSPARTOFF, dp, NDOSPART * sizeof(*dp)); for (i = 0; i < NDOSPART; i++, dp++) { |