diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-14 03:41:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-14 03:41:23 +0000 |
commit | e67b3e0824e002aedeb50ad27b4016293a8463a6 (patch) | |
tree | cd1178ded43e09914ac9e25f55bfa23294be3fda | |
parent | b7e4591ecab9c31e7306f57a377a68dd0b6a8c95 (diff) |
some spaces in the way
-rw-r--r-- | sys/arch/luna88k/luna88k/disksubr.c | 30 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/disksubr.c | 8 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/disksubr.c | 26 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/disksubr.c | 26 |
4 files changed, 45 insertions, 45 deletions
diff --git a/sys/arch/luna88k/luna88k/disksubr.c b/sys/arch/luna88k/luna88k/disksubr.c index 70d57a162c6..e625bac11ab 100644 --- a/sys/arch/luna88k/luna88k/disksubr.c +++ b/sys/arch/luna88k/luna88k/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.28 2007/06/14 03:37:23 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.29 2007/06/14 03:41:21 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.12 2002/02/19 17:09:44 wiz Exp $ */ /* @@ -304,22 +304,22 @@ disklabel_om_to_bsd(char *cp, struct disklabel *lp) lp->d_magic2 = DISKMAGIC; memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname)); - lp->d_type = DTYPE_SCSI; - lp->d_secsize = 512; - lp->d_nsectors = sl->sl_nsectors; - lp->d_ntracks = sl->sl_ntracks; + lp->d_type = DTYPE_SCSI; + lp->d_secsize = 512; + lp->d_nsectors = sl->sl_nsectors; + lp->d_ntracks = sl->sl_ntracks; lp->d_ncylinders = sl->sl_ncylinders; secpercyl = sl->sl_nsectors * sl->sl_ntracks; - lp->d_secpercyl = secpercyl; + lp->d_secpercyl = secpercyl; if (DL_GETDSIZE(lp) == 0) DL_SETDSIZE(lp, (daddr64_t)secpercyl * sl->sl_ncylinders); lp->d_sparespercyl = 0; /* no way to know */ - lp->d_acylinders = sl->sl_acylinders; - lp->d_rpm = sl->sl_rpm; /* UniOS - (empty) */ - lp->d_interleave = sl->sl_interleave; /* UniOS - ndisk */ - lp->d_version = 1; + lp->d_acylinders = sl->sl_acylinders; + lp->d_rpm = sl->sl_rpm; /* UniOS - (empty) */ + lp->d_interleave = sl->sl_interleave; /* UniOS - ndisk */ + lp->d_version = 1; if (sl->sl_rpm == 0) { /* UniOS label has blkoffset, not cyloffset */ @@ -398,11 +398,11 @@ disklabel_bsd_to_om(struct disklabel *lp, char *cp) sl->sl_pcyl = lp->d_ncylinders + lp->d_acylinders; /* XXX */ sl->sl_sparespercyl = lp->d_sparespercyl; #endif - sl->sl_interleave = lp->d_interleave; - sl->sl_ncylinders = lp->d_ncylinders; - sl->sl_acylinders = lp->d_acylinders; - sl->sl_ntracks = lp->d_ntracks; - sl->sl_nsectors = lp->d_nsectors; + sl->sl_interleave = lp->d_interleave; + sl->sl_ncylinders = lp->d_ncylinders; + sl->sl_acylinders = lp->d_acylinders; + sl->sl_ntracks = lp->d_ntracks; + sl->sl_nsectors = lp->d_nsectors; for (i = 0; i < 8; i++) { spp = &sl->sl_part[i]; diff --git a/sys/arch/mips64/mips64/disksubr.c b/sys/arch/mips64/mips64/disksubr.c index 618731c2a70..5907921a5b0 100644 --- a/sys/arch/mips64/mips64/disksubr.c +++ b/sys/arch/mips64/mips64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.56 2007/06/14 03:37:23 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.57 2007/06/14 03:41:21 deraadt Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -446,9 +446,9 @@ readsgilabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly) return "sgilabel checksum error"; /* Set up partitions i-l if there is no BSD label. */ - lp->d_secsize = dlp->dp.dp_secbytes; - lp->d_nsectors = dlp->dp.dp_secs; - lp->d_ntracks = dlp->dp.dp_trks0; + lp->d_secsize = dlp->dp.dp_secbytes; + lp->d_nsectors = dlp->dp.dp_secs; + lp->d_ntracks = dlp->dp.dp_trks0; lp->d_ncylinders = dlp->dp.dp_cyls; lp->d_interleave = dlp->dp.dp_interleave; lp->d_npartitions = MAXPARTITIONS; diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c index 1f38768dc64..e4d23d91ea2 100644 --- a/sys/arch/sparc/sparc/disksubr.c +++ b/sys/arch/sparc/sparc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.62 2007/06/14 03:37:23 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.63 2007/06/14 03:41:22 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */ /* @@ -297,20 +297,20 @@ disklabel_sun_to_bsd(char *cp, struct disklabel *lp) memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname)); lp->d_secsize = 512; - lp->d_nsectors = sl->sl_nsectors; - lp->d_ntracks = sl->sl_ntracks; + lp->d_nsectors = sl->sl_nsectors; + lp->d_ntracks = sl->sl_ntracks; lp->d_ncylinders = sl->sl_ncylinders; secpercyl = sl->sl_nsectors * sl->sl_ntracks; - lp->d_secpercyl = secpercyl; + lp->d_secpercyl = secpercyl; if (DL_GETDSIZE(lp) == 0) DL_SETDSIZE(lp, (daddr64_t)secpercyl * sl->sl_ncylinders); lp->d_version = 1; /* 48 bit addressing */ lp->d_sparespercyl = sl->sl_sparespercyl; - lp->d_acylinders = sl->sl_acylinders; - lp->d_rpm = sl->sl_rpm; - lp->d_interleave = sl->sl_interleave; + lp->d_acylinders = sl->sl_acylinders; + lp->d_rpm = sl->sl_rpm; + lp->d_interleave = sl->sl_interleave; lp->d_npartitions = MAXPARTITIONS; /* These are as defined in <ufs/ffs/fs.h> */ @@ -413,13 +413,13 @@ disklabel_bsd_to_sun(struct disklabel *lp, char *cp) /* Format conversion. */ memcpy(sl->sl_text, lp->d_packname, sizeof(lp->d_packname)); sl->sl_rpm = lp->d_rpm; - sl->sl_pcylinders = lp->d_ncylinders + lp->d_acylinders; /* XXX */ + sl->sl_pcylinders = lp->d_ncylinders + lp->d_acylinders; /* XXX */ sl->sl_sparespercyl = lp->d_sparespercyl; - sl->sl_interleave = lp->d_interleave; - sl->sl_ncylinders = lp->d_ncylinders; - sl->sl_acylinders = lp->d_acylinders; - sl->sl_ntracks = lp->d_ntracks; - sl->sl_nsectors = lp->d_nsectors; + sl->sl_interleave = lp->d_interleave; + sl->sl_ncylinders = lp->d_ncylinders; + sl->sl_acylinders = lp->d_acylinders; + sl->sl_ntracks = lp->d_ntracks; + sl->sl_nsectors = lp->d_nsectors; secpercyl = sl->sl_nsectors * sl->sl_ntracks; for (i = 0; i < 8; i++) { diff --git a/sys/arch/sparc64/sparc64/disksubr.c b/sys/arch/sparc64/sparc64/disksubr.c index 3d9f1f5a6e6..74ec0a1bf70 100644 --- a/sys/arch/sparc64/sparc64/disksubr.c +++ b/sys/arch/sparc64/sparc64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.41 2007/06/14 03:37:23 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.42 2007/06/14 03:41:22 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.13 2000/12/17 22:39:18 pk Exp $ */ /* @@ -296,20 +296,20 @@ disklabel_sun_to_bsd(char *cp, struct disklabel *lp) memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname)); lp->d_secsize = 512; - lp->d_nsectors = sl->sl_nsectors; - lp->d_ntracks = sl->sl_ntracks; + lp->d_nsectors = sl->sl_nsectors; + lp->d_ntracks = sl->sl_ntracks; lp->d_ncylinders = sl->sl_ncylinders; secpercyl = sl->sl_nsectors * sl->sl_ntracks; - lp->d_secpercyl = secpercyl; + lp->d_secpercyl = secpercyl; if (DL_GETDSIZE(lp) == 0) DL_SETDSIZE(lp, (daddr64_t)secpercyl * sl->sl_ncylinders); lp->d_version = 1; /* 48 bit addressing */ lp->d_sparespercyl = sl->sl_sparespercyl; - lp->d_acylinders = sl->sl_acylinders; - lp->d_rpm = sl->sl_rpm; - lp->d_interleave = sl->sl_interleave; + lp->d_acylinders = sl->sl_acylinders; + lp->d_rpm = sl->sl_rpm; + lp->d_interleave = sl->sl_interleave; lp->d_npartitions = MAXPARTITIONS; /* These are as defined in <ufs/ffs/fs.h> */ @@ -412,13 +412,13 @@ disklabel_bsd_to_sun(struct disklabel *lp, char *cp) /* Format conversion. */ memcpy(sl->sl_text, lp->d_packname, sizeof(lp->d_packname)); sl->sl_rpm = lp->d_rpm; - sl->sl_pcylinders = lp->d_ncylinders + lp->d_acylinders; /* XXX */ + sl->sl_pcylinders = lp->d_ncylinders + lp->d_acylinders; /* XXX */ sl->sl_sparespercyl = lp->d_sparespercyl; - sl->sl_interleave = lp->d_interleave; - sl->sl_ncylinders = lp->d_ncylinders; - sl->sl_acylinders = lp->d_acylinders; - sl->sl_ntracks = lp->d_ntracks; - sl->sl_nsectors = lp->d_nsectors; + sl->sl_interleave = lp->d_interleave; + sl->sl_ncylinders = lp->d_ncylinders; + sl->sl_acylinders = lp->d_acylinders; + sl->sl_ntracks = lp->d_ntracks; + sl->sl_nsectors = lp->d_nsectors; secpercyl = sl->sl_nsectors * sl->sl_ntracks; for (i = 0; i < 8; i++) { |