summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-02-08 22:12:52 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-02-08 22:12:52 +0000
commit6496f5d3d43c902b3841fc577c5b98a5b7b41205 (patch)
tree4a53fef359f8c1ca4db5ab9d78f96f69250284b8 /sys
parent06282fbb995ae080058d9256e2638368cdaebff2 (diff)
"exceeds past the end" -> "extends past the end" in comment.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 238573f7369..4afe565f307 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_disk.c,v 1.222 2015/12/24 20:14:07 krw Exp $ */
+/* $OpenBSD: subr_disk.c,v 1.223 2016/02/08 22:12:51 krw Exp $ */
/* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */
/*
@@ -963,7 +963,7 @@ bounds_check_with_label(struct buf *bp, struct disklabel *lp)
if (bp->b_blkno == partblocks || bp->b_bcount == 0)
goto done;
- /* Truncate request if it exceeds past the end of the partition. */
+ /* Truncate request if it extends past the end of the partition. */
sz = bp->b_bcount >> DEV_BSHIFT;
if (sz > partblocks - bp->b_blkno) {
sz = partblocks - bp->b_blkno;