26c26
< * $FreeBSD: head/sys/dev/syscons/scvidctl.c 83366 2001-09-12 08:38:13Z julian $
---
> * $FreeBSD: head/sys/dev/syscons/scvidctl.c 91140 2002-02-23 11:12:57Z tanimura $
38a39,43
> #include <sys/filedesc.h>
> #include <sys/lock.h>
> #include <sys/sx.h>
> #include <sys/mutex.h>
> #include <sys/proc.h>
231c236,240
< pgsignal(tp->t_pgrp, SIGWINCH, 1);
---
> if (tp->t_pgrp != NULL) {
> PGRP_LOCK(tp->t_pgrp);
> pgsignal(tp->t_pgrp, SIGWINCH, 1);
> PGRP_UNLOCK(tp->t_pgrp);
> }
294c303,307
< pgsignal(tp->t_pgrp, SIGWINCH, 1);
---
> if (tp->t_pgrp != NULL) {
> PGRP_LOCK(tp->t_pgrp);
> pgsignal(tp->t_pgrp, SIGWINCH, 1);
> PGRP_UNLOCK(tp->t_pgrp);
> }
426c439,443
< pgsignal(tp->t_pgrp, SIGWINCH, 1);
---
> if (tp->t_pgrp != NULL) {
> PGRP_LOCK(tp->t_pgrp);
> pgsignal(tp->t_pgrp, SIGWINCH, 1);
> PGRP_UNLOCK(tp->t_pgrp);
> }
< * $FreeBSD: head/sys/dev/syscons/scvidctl.c 83366 2001-09-12 08:38:13Z julian $
---
> * $FreeBSD: head/sys/dev/syscons/scvidctl.c 91140 2002-02-23 11:12:57Z tanimura $
38a39,43
> #include <sys/filedesc.h>
> #include <sys/lock.h>
> #include <sys/sx.h>
> #include <sys/mutex.h>
> #include <sys/proc.h>
231c236,240
< pgsignal(tp->t_pgrp, SIGWINCH, 1);
---
> if (tp->t_pgrp != NULL) {
> PGRP_LOCK(tp->t_pgrp);
> pgsignal(tp->t_pgrp, SIGWINCH, 1);
> PGRP_UNLOCK(tp->t_pgrp);
> }
294c303,307
< pgsignal(tp->t_pgrp, SIGWINCH, 1);
---
> if (tp->t_pgrp != NULL) {
> PGRP_LOCK(tp->t_pgrp);
> pgsignal(tp->t_pgrp, SIGWINCH, 1);
> PGRP_UNLOCK(tp->t_pgrp);
> }
426c439,443
< pgsignal(tp->t_pgrp, SIGWINCH, 1);
---
> if (tp->t_pgrp != NULL) {
> PGRP_LOCK(tp->t_pgrp);
> pgsignal(tp->t_pgrp, SIGWINCH, 1);
> PGRP_UNLOCK(tp->t_pgrp);
> }