summaryrefslogtreecommitdiffstats
path: root/sys/dev/si/si.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/si/si.c')
-rw-r--r--sys/dev/si/si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index ded079c..416771c 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -584,7 +584,7 @@ try_next:
sprintf(pp->sp_name, "si%r%r", unit,
(int)(pp - sc->sc_ports));
#endif
- tp = pp->sp_tty = tty_alloc(&si_tty_class, pp, &Giant);
+ tp = pp->sp_tty = tty_alloc_mutex(&si_tty_class, pp, &Giant);
tty_makedev(tp, NULL, "A%r%r", unit, (int)(pp - sc->sc_ports));
}
try_next2:
OpenPOWER on IntegriCloud