From 1b3d4c19223ddf0448386b1bc6ed5e530c5fc22e Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Sat, 22 Mar 2014 11:18:06 +0000 Subject: Unbreak tree; p_sigacts moved from struct proc to struct process --- lib/libkvm/kvm_proc2.c | 8 ++++---- 1 file 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; -- cgit v1.2.3