diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2009-05-29 06:41:23 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2009-05-29 06:41:23 +0000 |
| commit | c5e30cc02b9bee4c53457d1bc4184b256ce1a569 (patch) | |
| tree | 8504d18b61b10ae1ba84f3c8d91f1f3572bcce6f /sys/dev/si/si.c | |
| parent | b6151caa3af4be855af359bf4d2872c45cb2263a (diff) | |
Notes
Diffstat (limited to 'sys/dev/si/si.c')
| -rw-r--r-- | sys/dev/si/si.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c index ded079c7ac22..416771cf1c7a 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: |
