summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2014-03-22 11:18:06 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2014-03-22 11:18:06 +0000
commit1b3d4c19223ddf0448386b1bc6ed5e530c5fc22e (patch)
tree34d5771437476ad7d311482cf48953e9a39ae3b2
parent2f16f31f0e4ead160074f0a2714c0b3e419429c4 (diff)
Unbreak tree; p_sigacts moved from struct proc to struct process
-rw-r--r--lib/libkvm/kvm_proc2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkvm/kvm_proc2.c b/lib/libkvm/kvm_proc2.c
index cca8e7b0b0e..64fdaff900f 100644
--- a/lib/libkvm/kvm_proc2.c
+++ b/lib/libkvm/kvm_proc2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_proc2.c,v 1.19 2014/02/05 03:49:00 guenther Exp $ */
+/* $OpenBSD: kvm_proc2.c,v 1.20 2014/03/22 11:18:05 florian Exp $ */
/* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -203,11 +203,11 @@ kvm_proclist(kvm_t *kd, int op, int arg, struct process *pr,
}
else
leader_pid = 0;
- if (proc.p_sigacts) {
- if (KREAD(kd, (u_long)proc.p_sigacts, &sa)) {
+ if (process.ps_sigacts) {
+ if (KREAD(kd, (u_long)process.ps_sigacts, &sa)) {
_kvm_err(kd, kd->program,
"can't read sigacts at %lx",
- (u_long)proc.p_sigacts);
+ (u_long)process.ps_sigacts);
return (-1);
}
sap = &sa;