diff options
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r-- | sys/kern/tty.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 4d7dfac..1adf784 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)tty.c 8.8 (Berkeley) 1/21/94 - * $Id: tty.c,v 1.109 1998/12/07 07:59:20 ache Exp $ + * $Id: tty.c,v 1.110 1998/12/08 10:22:07 bde Exp $ */ /*- @@ -1310,10 +1310,8 @@ ttrstrt(tp_arg) struct tty *tp; int s; -#ifdef DIAGNOSTIC - if (tp_arg == NULL) - panic("ttrstrt"); -#endif + KASSERT(tp_arg != NULL, ("ttrstrt")); + tp = tp_arg; s = spltty(); |