diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-05-31 02:57:54 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-05-31 02:57:54 +0000 |
commit | 440edc76ca3eee8d62ac049d5e11915b6cc31756 (patch) | |
tree | 910ee4fa0d445da92e5aaa01a3acb9fb8d69a72f /sys/arch/sparc | |
parent | 319fbd8cd4ec080005b5209f6658f8475f652f76 (diff) |
Be consistant and use b_cylinder when saving the cylinder number for
disksort, not b_resid. b_cylinder is defined to be 'b_resid' so no
functional change.
ok deraadt@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/disksubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c index 1af6c1b0340..d36a0b1d93e 100644 --- a/sys/arch/sparc/sparc/disksubr.c +++ b/sys/arch/sparc/sparc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.45 2007/05/31 00:30:08 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.46 2007/05/31 02:57:53 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */ /* @@ -326,7 +326,7 @@ bounds_check_with_label(bp, lp, osdep, wlabel) } /* calculate cylinder for disksort to order transfers with */ - bp->b_resid = (bp->b_blkno + blockpersec(p->p_offset, lp)) / + bp->b_cylinder = (bp->b_blkno + blockpersec(p->p_offset, lp)) / lp->d_secpercyl; return (1); bad: |