summaryrefslogtreecommitdiff
path: root/lib/libkvm/kvm_file2.c
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-12-14 17:33:47 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-12-14 17:33:47 +0000
commit540d834881aa06f49f4dda0c34f7608d249c8fdb (patch)
tree89c927ac0562f32f470ef4de29d816db957f058f /lib/libkvm/kvm_file2.c
parentb24bb1efecdc5eb509e5cb7e915ad6607bb18d66 (diff)
The ktrace vnode has moved to struct process and changed name.
Missed commit pointed out by mikeb@
Diffstat (limited to 'lib/libkvm/kvm_file2.c')
-rw-r--r--lib/libkvm/kvm_file2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c
index e8778dff547..b39d85443fb 100644
--- a/lib/libkvm/kvm_file2.c
+++ b/lib/libkvm/kvm_file2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_file2.c,v 1.17 2011/07/04 20:35:35 deraadt Exp $ */
+/* $OpenBSD: kvm_file2.c,v 1.18 2011/12/14 17:33:46 guenther Exp $ */
/*
* Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -387,14 +387,14 @@ kvm_deadfile2_byid(kvm_t *kd, int op, int arg, size_t esize, int *cnt)
KERN_FILE_RDIR) == -1)
return (NULL);
}
- if (proc.p_tracep) {
+ if (process.ps_tracevp) {
if (buflen < sizeof(struct kinfo_file2))
goto done;
kf = (struct kinfo_file2 *)where;
where += sizeof(struct kinfo_file2);
buflen -= sizeof(struct kinfo_file2);
n++;
- if (fill_file2(kd, kf, NULL, proc.p_tracep, &proc,
+ if (fill_file2(kd, kf, NULL, process.ps_tracevp, &proc,
KERN_FILE_TRACE) == -1)
return (NULL);
}