mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 14:23:55 +00:00
Remove a warning check which was too general.
This commit is contained in:
parent
f327fe4c57
commit
9ab8e01991
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51662
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue