summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmcc <mmcc@openbsd.org>2015-10-30 04:21:42 +0000
committermmcc <mmcc@openbsd.org>2015-10-30 04:21:42 +0000
commit8333989b4b37a7eee3b8239a38944c7ad6dd6c2c (patch)
treecec4b358a4e18c03572b8b4fb36ada7d97c6d2a0
parent'fc -e -' is deprecated in favor of 'fc -s', so update the built-in alias (diff)
downloadwireguard-openbsd-8333989b4b37a7eee3b8239a38944c7ad6dd6c2c.tar.xz
wireguard-openbsd-8333989b4b37a7eee3b8239a38944c7ad6dd6c2c.zip
uvm_deallocate()'s return type is void, not int. This has apparently
been out of sync for 13 years. ok daniel@, millert@
-rw-r--r--share/man/man9/uvm.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/uvm.9 b/share/man/man9/uvm.9
index 5d44260dfd0..df774335b0b 100644
--- a/share/man/man9/uvm.9
+++ b/share/man/man9/uvm.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uvm.9,v 1.60 2015/01/15 21:19:22 guenther Exp $
+.\" $OpenBSD: uvm.9,v 1.61 2015/10/30 04:21:42 mmcc Exp $
.\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
@@ -30,7 +30,7 @@
.\" XXX this manual sets nS to 1 or 0 in the description, to obtain
.\" synopsis-like function prototypes. any better way?
.\"
-.Dd $Mdocdate: January 15 2015 $
+.Dd $Mdocdate: October 30 2015 $
.Dt UVM 9
.Os
.Sh NAME
@@ -131,7 +131,7 @@ function initialises the swap subsystem.
.Fn uvm_map_checkprot "vm_map_t map" "vaddr_t start" "vaddr_t end" "vm_prot_t protection"
.Ft int
.Fn uvm_map_protect "vm_map_t map" "vaddr_t start" "vaddr_t end" "vm_prot_t new_prot" "boolean_t set_max"
-.Ft int
+.Ft void
.Fn uvm_deallocate "vm_map_t map" "vaddr_t start" "vsize_t size"
.Ft struct vmspace *
.Fn uvmspace_alloc "vaddr_t min" "vaddr_t max" "boolean_t pageable" "boolean_t remove_holes"