diff --git a/dragonflybsd/DragonFlyBSDProcessList.c b/dragonflybsd/DragonFlyBSDProcessList.c index 99ee50bb..a41af854 100644 --- a/dragonflybsd/DragonFlyBSDProcessList.c +++ b/dragonflybsd/DragonFlyBSDProcessList.c @@ -445,7 +445,8 @@ void ProcessList_goThroughEntries(ProcessList* this) { } proc->ppid = kproc->kp_ppid; // parent process id proc->tpgid = kproc->kp_tpgid; // tty process group id - proc->tgid = kproc->kp_lwp.kl_tid; // thread group id + //proc->tgid = kproc->kp_lwp.kl_tid; // thread group id + proc->tgid = kproc->kp_pid; // thread group id proc->pgrp = kproc->kp_pgid; // process group id proc->session = kproc->kp_sid; proc->tty_nr = kproc->kp_tdev; // control terminal device number