diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-01-20 04:27:33 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-01-20 04:27:33 +0000 |
commit | 99bc331860cf3ed5a1c4ec43c3928b4335a31672 (patch) | |
tree | a88e16658827014f77e4463a20fc10da5cbf7b48 /lib/libkvm/kvm_file2.c | |
parent | 4bb25c678ec5ff1018c38cd95323d4f582b2bfa8 (diff) |
p_textvp moved from struct proc to struct process
Diffstat (limited to 'lib/libkvm/kvm_file2.c')
-rw-r--r-- | lib/libkvm/kvm_file2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c index 799dbe20968..b970247380e 100644 --- a/lib/libkvm/kvm_file2.c +++ b/lib/libkvm/kvm_file2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_file2.c,v 1.31 2013/11/16 00:37:11 guenther Exp $ */ +/* $OpenBSD: kvm_file2.c,v 1.32 2014/01/20 04:27:32 guenther Exp $ */ /* * Copyright (c) 2009 Todd C. Miller <Todd.Miller@courtesan.com> @@ -399,11 +399,11 @@ kvm_deadfile_byid(kvm_t *kd, int op, int arg, size_t esize, int *cnt) } proc.p_fd = &filed; - if (proc.p_textvp) { + if (process.ps_textvp) { if (buflen < esize) goto done; - if (fill_file(kd, &kf, NULL, 0, proc.p_textvp, &proc, - KERN_FILE_TEXT, pid) == -1) + if (fill_file(kd, &kf, NULL, 0, process.ps_textvp, + &proc, KERN_FILE_TEXT, pid) == -1) goto cleanup; memcpy(where, &kf, esize); where += esize; |