git: e67ef6ce667d - main - libkvm: Fix build after removeal of p_tracevp

Konstantin Belousov kib at FreeBSD.org
Sat May 22 13:37:14 UTC 2021


The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=e67ef6ce667d42a235a70914159048e10039145d

commit e67ef6ce667d42a235a70914159048e10039145d
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-05-22 12:43:57 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-05-22 13:36:54 +0000

    libkvm: Fix build after removeal of p_tracevp
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 lib/libkvm/kvm_proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c
index eed2f3de6075..5058e86a645b 100644
--- a/lib/libkvm/kvm_proc.c
+++ b/lib/libkvm/kvm_proc.c
@@ -218,7 +218,7 @@ kvm_proclist(kvm_t *kd, int what, int arg, struct proc *p,
 		/* kp->ki_kstack = proc.p_thread.td_kstack; XXXKSE */
 		kp->ki_args = proc.p_args;
 		kp->ki_numthreads = proc.p_numthreads;
-		kp->ki_tracep = proc.p_tracevp;
+		kp->ki_tracep = NULL;	/* XXXKIB do not expose ktr_io_params */
 		kp->ki_textvp = proc.p_textvp;
 		kp->ki_fd = proc.p_fd;
 		kp->ki_pd = proc.p_pd;


More information about the dev-commits-src-main mailing list