summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-06 04:55:01 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-07-06 04:55:01 +0000
commitf037e2790547fdf3132f07078735b28e19da4ff8 (patch)
tree4e8aef1e1e43c6240576a0fba210798b40f56e6e /share/man
parent51c6c9b181971ccd9a6d6f7f9dd1fa5dc8df1c23 (diff)
Update to reflect new bounds_check_with_label() semantics.
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/disklabel.911
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man9/disklabel.9 b/share/man/man9/disklabel.9
index 8172bee83ce..9689580ed46 100644
--- a/share/man/man9/disklabel.9
+++ b/share/man/man9/disklabel.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: disklabel.9,v 1.15 2011/06/04 08:26:55 jmc Exp $
+.\" $OpenBSD: disklabel.9,v 1.16 2011/07/06 04:55:00 matthew Exp $
.\" $NetBSD: disklabel.9,v 1.7 1999/03/06 22:09:29 mycroft Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 4 2011 $
+.Dd $Mdocdate: July 6 2011 $
.Dt DISKLABEL 9
.Os
.Sh NAME
@@ -142,9 +142,10 @@ and sets the
.Dv B_ERROR
flag in
.Dq Va b_flags .
-A value of \-1 is returned if any of the bound checks failed or
-transfer was attempted exactly at the end of disk partition.
-Otherwise the value of 1 is returned.
+A value of \-1 is returned if any of the bound checks failed,
+a null transfer was attempted,
+or transfer was attempted exactly at the end of the disk partition.
+Otherwise the value of 0 is returned.
.Sh SEE ALSO
.Xr disklabel 5 ,
.Xr disklabel 8 ,