diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-08-23 22:52:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-08-23 22:52:41 +0000 |
commit | c3041560a666a5bb43dd8d381509dee0f349bb21 (patch) | |
tree | 65624b42a7edfce538d840dcddf96ab348e9d78b /sys/arch | |
parent | eff7224c2a5c269961e012d9ee9345d20dcac091 (diff) |
unifiy with mvme88k
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/disksubr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/mvme68k/mvme68k/disksubr.c b/sys/arch/mvme68k/mvme68k/disksubr.c index cd06d4c133b..8ee46bfa2e6 100644 --- a/sys/arch/mvme68k/mvme68k/disksubr.c +++ b/sys/arch/mvme68k/mvme68k/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.28 2003/06/03 21:09:01 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.29 2003/08/23 22:52:40 deraadt Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1995 Dale Rahn. @@ -161,9 +161,9 @@ readdisklabel(dev, strat, lp, clp, spoofonly) #endif if (clp->magic1 != DISKMAGIC || clp->magic2 != DISKMAGIC) return ("no disk label"); - + cputobsdlabel(lp, clp); - + if (dkcksum(lp) != 0) return ("disk label corrupted"); @@ -437,17 +437,17 @@ bsdtocpulabel(lp, clp) bcopy(&lp->d_partitions[0], clp->vid_4, sizeof(struct partition) * 4); bcopy(&lp->d_partitions[4], clp->cfg_4, sizeof(struct partition) * 12); clp->version = 1; - /* put "MOTOROLA" in the VID. This makes it a valid boot disk also. xxx - smurph */ + + /* Put "MOTOROLA" in the VID. This makes it a valid boot disk. */ mot = clp->vid_mot; - for (i=0; i<8; i++) { + for (i = 0; i < 8; i++) { *mot++ = *tmot++; } /* put volume id in the VID */ mot = clp->vid_id; - for (i=0; i<4; i++) { + for (i = 0; i < 4; i++) { *mot++ = *id++; } - } struct cpu_disklabel_old { |