diff options
-rw-r--r-- | sys/compat/svr4/svr4_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c index 6590ec2..0feebe3 100644 --- a/sys/compat/svr4/svr4_misc.c +++ b/sys/compat/svr4/svr4_misc.c @@ -1028,7 +1028,7 @@ svr4_sys_pgrpsys(td, uap) * This has already been initialized to the pid of * the session leader. */ - *retval = (register_t) p->p_session->s_leader->p_pid; + *retval = (register_t) p->p_session->s_sid; PROC_UNLOCK(p); return 0; |