summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm.c
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.c
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.c')
-rw-r--r--lib/libkvm/kvm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c
index da056fbc899..77ffa1880b4 100644
--- a/lib/libkvm/kvm.c
+++ b/lib/libkvm/kvm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm.c,v 1.40 2004/08/11 18:45:58 jaredy Exp $ */
+/* $OpenBSD: kvm.c,v 1.41 2004/09/14 22:39:56 deraadt Exp $ */
/* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)kvm.c 8.2 (Berkeley) 2/13/94";
#else
-static char *rcsid = "$OpenBSD: kvm.c,v 1.40 2004/08/11 18:45:58 jaredy Exp $";
+static char *rcsid = "$OpenBSD: kvm.c,v 1.41 2004/09/14 22:39:56 deraadt Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -590,7 +590,7 @@ kvm_dump_wrtheader(kvm_t *kd, FILE *fp, int dumpsize)
kvm_t *
kvm_openfiles(const char *uf, const char *mf, const char *sf,
- int flag, char *errout)
+ unsigned int flag, char *errout)
{
kvm_t *kd;