It's tp->t_dev, not tp->tp_dev. Corrects commit prior to previous.
This commit is contained in:
parent
5726d07be3
commit
30508d772a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ucom.c,v 1.90 2011/12/19 19:34:52 jakllsch Exp $ */
|
||||
/* $NetBSD: ucom.c,v 1.91 2011/12/19 19:39:51 jakllsch Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
|
||||
@ -34,7 +34,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.90 2011/12/19 19:34:52 jakllsch Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.91 2011/12/19 19:39:51 jakllsch Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -1037,7 +1037,7 @@ ucomstop(struct tty *tp, int flag)
|
||||
{
|
||||
#if 0
|
||||
/*struct ucom_softc *sc =
|
||||
device_lookup_private(&ucom_cd, UCOMUNIT(tp->tp_dev));*/
|
||||
device_lookup_private(&ucom_cd, UCOMUNIT(tp->t_dev));*/
|
||||
int s;
|
||||
|
||||
s = spltty();
|
||||
|
Loading…
Reference in New Issue
Block a user