diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-25 18:52:03 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-25 18:52:03 +0000 |
| commit | 9ab8e01991b965cf134b8fbf9beb1e1ca88ca98d (patch) | |
| tree | 4e63cbba33d5877600df5e0859cec6d349fc0f40 /sys | |
| parent | f327fe4c5770044b4abc73602359470909aae010 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/fs/specfs/spec_vnops.c | 4 | ||||
| -rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index 4a079468be31..237d8f513998 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -237,9 +237,7 @@ spec_open(ap) return (error); if (dsw->d_flags & D_TTY) { - if (!dev->si_tty) { - printf("Warning:%s: no si_tty\n", devtoname(dev)); - } else { + if (dev->si_tty) { struct tty *tp; tp = dev->si_tty; if (!tp->t_stop) { diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 4a079468be31..237d8f513998 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -237,9 +237,7 @@ spec_open(ap) return (error); if (dsw->d_flags & D_TTY) { - if (!dev->si_tty) { - printf("Warning:%s: no si_tty\n", devtoname(dev)); - } else { + if (dev->si_tty) { struct tty *tp; tp = dev->si_tty; if (!tp->t_stop) { |
