diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-03-28 20:18:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-03-28 20:18:33 +0000 |
commit | 39236d4256267486db4bf89b4a4a8896c5690c88 (patch) | |
tree | d5d3e0f516a0bf60a7a0f72b9b5719e0269899ce /sys | |
parent | 8ee67f68e4162c4b92bffd7d364f425fb4e888ca (diff) |
Yet another ioctl-related pid value. Should be the master of the
thread, aka. p_p->ps_pid.
ok miod
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/wscons/wsdisplay_compat_usl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsdisplay_compat_usl.c b/sys/dev/wscons/wsdisplay_compat_usl.c index 5ad2697165f..41fab746a24 100644 --- a/sys/dev/wscons/wsdisplay_compat_usl.c +++ b/sys/dev/wscons/wsdisplay_compat_usl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsdisplay_compat_usl.c,v 1.22 2011/04/05 12:50:15 guenther Exp $ */ +/* $OpenBSD: wsdisplay_compat_usl.c,v 1.23 2012/03/28 20:18:32 deraadt Exp $ */ /* $NetBSD: wsdisplay_compat_usl.c,v 1.12 2000/03/23 07:01:47 thorpej Exp $ */ /* @@ -106,7 +106,7 @@ usl_sync_init(struct wsscreen *scr, struct usl_syncdata **sdp, struct proc *p, return (ENOMEM); sd->s_scr = scr; sd->s_proc = p; - sd->s_pid = p->p_pid; + sd->s_pid = p->p_p->ps_pid; sd->s_flags = 0; sd->s_acqsig = acqsig; sd->s_relsig = relsig; |