diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-10-20 13:15:36 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-10-20 13:15:36 +0000 |
commit | 8d2af8b8fe8a9fd39a667f01c6ea02349eb1bfe5 (patch) | |
tree | e49ccaf2d00d0aa118ba63db303f6690e2b46cc7 /sys | |
parent | 3d5b0b57ceaa5c3a2726736e32195258fcd1f4ec (diff) |
KNF a long line.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_disk.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index ed23b32b8bd..8a7e87846ea 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.155 2013/10/19 09:32:15 krw Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.156 2013/10/20 13:15:35 krw Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -648,7 +648,8 @@ setdisklabel(struct disklabel *olp, struct disklabel *nlp, u_int openmask) for (i = 0; i < MAXPARTITIONS; i++) { opp = &olp->d_partitions[i]; npp = &nlp->d_partitions[i]; - if ((openmask & (1 << i)) && (DL_GETPOFFSET(npp) != DL_GETPOFFSET(opp) || + if ((openmask & (1 << i)) && + (DL_GETPOFFSET(npp) != DL_GETPOFFSET(opp) || DL_GETPSIZE(npp) < DL_GETPSIZE(opp))) return (EBUSY); /* |