diff options
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 659a401c795..53638585e6c 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.99 2010/01/14 23:12:11 schwarze Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.100 2010/04/23 15:25:21 jsing Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -278,13 +278,10 @@ checkdisklabel(void *rlp, struct disklabel *lp, dlp->d_secpercyl = swap32(dlp->d_secpercyl); dlp->d_secperunit = swap32(dlp->d_secperunit); - dlp->d_sparespertrack = swap16(dlp->d_sparespertrack); - dlp->d_sparespercyl = swap16(dlp->d_sparespercyl); + dlp->d_label_uid = swap64(dlp->d_label_uid); dlp->d_acylinders = swap32(dlp->d_acylinders); - dlp->d_rpm = swap16(dlp->d_rpm); - dlp->d_interleave = swap16(dlp->d_interleave); dlp->d_flags = swap32(dlp->d_flags); for (i = 0; i < NDDATA; i++) |