diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-09-22 13:41:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-09-22 13:41:39 +0000 |
commit | a87057ae86dfc261ff80719a08a68a262bd15710 (patch) | |
tree | 7167d33c1403c20c9f63c9f41f1d65acee12095f | |
parent | 1e20168c2d746dab6b57a3403964130510ec037d (diff) |
Catchup to hppa disksubr: determining label offset the new way
-rw-r--r-- | sys/arch/hppa64/hppa64/disksubr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/hppa64/hppa64/disksubr.c b/sys/arch/hppa64/hppa64/disksubr.c index 6b564480fea..6b37e595e11 100644 --- a/sys/arch/hppa64/hppa64/disksubr.c +++ b/sys/arch/hppa64/hppa64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.67 2011/07/10 04:49:39 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.68 2011/09/22 13:41:38 deraadt Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -278,7 +278,6 @@ writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp) goto done; /* Read it in, slap the new label in, and write it back out */ - bp->b_blkno = partoff + LABELSECTOR; bp->b_bcount = lp->d_secsize; CLR(bp->b_flags, B_READ | B_WRITE | B_DONE); SET(bp->b_flags, B_BUSY | B_READ | B_RAW); |