summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2015-04-04 18:53:19 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2015-04-04 18:53:19 +0000
commitcf145dae4fb1af410acd1f9eda9ea3ab747cea5f (patch)
tree0122f382f2dc0ab2a1947b09a3255fb28e3db25c /lib
parent92382534e630cea48e6a4dd4e6f283ccb901519e (diff)
The swapfile argument is also const char *.
Found a while ago when porting cpulimit. ok deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm_open.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index 2bd7b0d7150..b306e57562c 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_open.3,v 1.17 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: kvm_open.3,v 1.18 2015/04/04 18:53:18 jca Exp $
.\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)kvm_open.3 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: April 4 2015 $
.Dt KVM_OPEN 3
.Os
.Sh NAME
@@ -46,9 +46,9 @@
.In fcntl.h
.In kvm.h
.Ft kvm_t *
-.Fn kvm_open "const char *execfile" "const char *corefile" "char *swapfile" "int flags" "const char *errstr"
+.Fn kvm_open "const char *execfile" "const char *corefile" "const char *swapfile" "int flags" "const char *errstr"
.Ft kvm_t *
-.Fn kvm_openfiles "const char *execfile" "const char *corefile" "char *swapfile" "int flags" "char *errbuf"
+.Fn kvm_openfiles "const char *execfile" "const char *corefile" "const char *swapfile" "int flags" "char *errbuf"
.Ft int
.Fn kvm_close "kvm_t *kd"
.Sh DESCRIPTION