diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index d7a1b0d81d53..57a0182c5535 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -198,7 +198,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt) * not exposed to userland. For compatability, just install * an empty signal set. */ - SIGEMPTYSET(proc.p_siglist); + SIGEMPTYSET(kp->ki_siglist); if (proc.p_procsig != NULL) { if (KREAD(kd, (u_long)proc.p_procsig, &procsig)) { _kvm_err(kd, kd->program,