diff options
author | 2016-02-08 22:12:51 +0000 | |
---|---|---|
committer | 2016-02-08 22:12:51 +0000 | |
commit | 322e29a6cd51aaa5c91c24a76348090705b99bdf (patch) | |
tree | 0ab1978d346203056bb55bf56ec85bec4e8574cf /sys/kern/subr_disk.c | |
parent | Fix a bug that caused nothing to be skipped when skipping exactly the (diff) | |
download | wireguard-openbsd-322e29a6cd51aaa5c91c24a76348090705b99bdf.tar.xz wireguard-openbsd-322e29a6cd51aaa5c91c24a76348090705b99bdf.zip |
"exceeds past the end" -> "extends past the end" in comment.
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 4 |
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; |