diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-29 01:18:19 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-05-29 01:18:19 +0000 |
commit | 648cec3b065a182c121d705d1224d1f215727adb (patch) | |
tree | 33186f26bcb436e51840894a17ae2628bd559073 /sys/arch/amiga | |
parent | a2ef1e41e5c3702655563e182063f533e475a5f0 (diff) |
small style nits
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r-- | sys/arch/amiga/amiga/disksubr.c | 7 | ||||
-rw-r--r-- | sys/arch/amiga/amiga/swapgeneric.c | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/amiga/amiga/disksubr.c b/sys/arch/amiga/amiga/disksubr.c index d923aacd9fc..80739dc94bf 100644 --- a/sys/arch/amiga/amiga/disksubr.c +++ b/sys/arch/amiga/amiga/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.12 1997/04/10 08:52:52 niklas Exp $ */ +/* $OpenBSD: disksubr.c,v 1.13 1997/05/29 01:18:18 niklas Exp $ */ /* $NetBSD: disksubr.c,v 1.27 1996/10/13 03:06:34 christos Exp $ */ /* @@ -367,7 +367,7 @@ readdisklabel(dev, strat, lp, clp) i = (pp - lp->d_partitions); if (nopname || i == 1) { /* - * either we have no packname yet or we found + * either we have no packname yet or we found * the swap partition. copy BCPL string into packname * [the reason we use the swap partition: the user * can supply a decent packname without worry @@ -453,7 +453,8 @@ setdisklabel(olp, nlp, openmask, clp) return (EBUSY); opp = &olp->d_partitions[i]; npp = &nlp->d_partitions[i]; - if (npp->p_offset != opp->p_offset || npp->p_size < opp->p_size) + if (npp->p_offset != opp->p_offset || + npp->p_size < opp->p_size) return (EBUSY); /* * Copy internally-set partition information diff --git a/sys/arch/amiga/amiga/swapgeneric.c b/sys/arch/amiga/amiga/swapgeneric.c index f337e5757ad..1d89ee7bfc2 100644 --- a/sys/arch/amiga/amiga/swapgeneric.c +++ b/sys/arch/amiga/amiga/swapgeneric.c @@ -1,4 +1,4 @@ -/* $OpenBSD: swapgeneric.c,v 1.8 1997/02/03 11:37:37 deraadt Exp $ */ +/* $OpenBSD: swapgeneric.c,v 1.9 1997/05/29 01:18:18 niklas Exp $ */ /* $NetBSD: swapgeneric.c,v 1.26 1996/10/13 03:06:40 christos Exp $ */ /* @@ -160,7 +160,7 @@ setconf() int unit, swaponroot; char name[128]; char *cp; - + swaponroot = 0; if (rootdev != NODEV) |