diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-01-17 07:01:02 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-01-17 07:01:02 +0000 |
commit | 7e72c8aad4a9eaa91b22f11c2e1d320bb9e98880 (patch) | |
tree | 6805f7a65699e4171b58585a27262e9b622ae6e5 /sys | |
parent | 4a65b16ac50dad4290311684fa8f823c7d00c5cf (diff) |
spaces everywhere
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/disksubr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/disksubr.c b/sys/arch/hppa/hppa/disksubr.c index 9b2891a656f..500aa2d3de6 100644 --- a/sys/arch/hppa/hppa/disksubr.c +++ b/sys/arch/hppa/hppa/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.4 1999/07/17 23:12:07 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.5 2000/01/17 07:01:01 mickey Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -372,7 +372,7 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly) dospartoff = 0; cyl = I386_LABELSECTOR / lp->d_secpercyl; if (dp) { - daddr_t part_blkno = DOSBBSECTOR; + daddr_t part_blkno = DOSBBSECTOR; unsigned long extoff = 0; int wander = 1, n = 0, loop = 0; @@ -381,7 +381,7 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly) * Map the partitions to disklabel entries i-p */ while (wander && n < 8 && loop < 8) { - loop++; + loop++; wander = 0; /* read boot record */ @@ -390,7 +390,7 @@ readdoslabel(bp, strat, lp, osdep, partoffp, cylp, spoofonly) bp->b_flags = B_BUSY | B_READ; bp->b_cylin = part_blkno / lp->d_secpercyl; (*strat)(bp); - + /* if successful, wander through dos partition table */ if (biowait(bp)) { msg = "dos partition I/O error"; @@ -605,7 +605,7 @@ readliflabel (bp, strat, lp, osdep, partoffp, cylp, spoofonly) bp->b_flags = B_BUSY | B_READ; bp->b_cylin = btodb(LIF_VOLSTART) / lp->d_secpercyl; (*strat)(bp); - + if (biowait(bp)) { if (partoffp) *partoffp = -1; |