summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_open.3
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2004-09-14 22:39:56 +0000
committerderaadt <deraadt@openbsd.org>2004-09-14 22:39:56 +0000
commitec99a4821fce650872e713e46134ac8226af6f2c (patch)
treee2f0de03645d70011fa39804a7462c31de34affd /lib/libkvm/kvm_open.3
parentCall tl_ifmedia_upd() in tl_init() for cards with bitrate devices (diff)
downloadwireguard-openbsd-ec99a4821fce650872e713e46134ac8226af6f2c.tar.xz
wireguard-openbsd-ec99a4821fce650872e713e46134ac8226af6f2c.zip
KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsigned
int instead of int; millert ok
Diffstat (limited to 'lib/libkvm/kvm_open.3')
-rw-r--r--lib/libkvm/kvm_open.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3
index b6a1dee6648..bccd0360c2c 100644
--- a/lib/libkvm/kvm_open.3
+++ b/lib/libkvm/kvm_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kvm_open.3,v 1.9 2003/06/02 20:18:41 millert Exp $
+.\" $OpenBSD: kvm_open.3,v 1.10 2004/09/14 22:39:56 deraadt Exp $
.\" $NetBSD: kvm_open.3,v 1.2 1996/03/18 22:33:52 thorpej Exp $
.\"
.\" Copyright (c) 1992, 1993
@@ -48,7 +48,7 @@
.Ft kvm_t *
.Fn kvm_open "const char *execfile" "const char *corefile" "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" "char *swapfile" "unsigned int flags" "char *errbuf"
.Ft int
.Fn kvm_close "kvm_t *kd"
.Sh DESCRIPTION