summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/specfs/spec_vnops.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
committerphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
commite9e05122106077f828fbbd0964036c22503d1633 (patch)
treea2c7d461d93e3013c84a30e06340b510ec96aaa9 /sys/miscfs/specfs/spec_vnops.c
parenta0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (diff)
downloadFreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.zip
FreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.tar.gz
Remove five now unused fields from struct cdevsw. They should never
have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
Diffstat (limited to 'sys/miscfs/specfs/spec_vnops.c')
-rw-r--r--sys/miscfs/specfs/spec_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c
index 5c003f9..4a07946 100644
--- a/sys/miscfs/specfs/spec_vnops.c
+++ b/sys/miscfs/specfs/spec_vnops.c
@@ -243,8 +243,8 @@ spec_open(ap)
struct tty *tp;
tp = dev->si_tty;
if (!tp->t_stop) {
- printf("Warning:%s: no t_stop, using nostop\n", devtoname(dev));
- tp->t_stop = nostop;
+ printf("Warning:%s: no t_stop, using nottystop\n", devtoname(dev));
+ tp->t_stop = nottystop;
}
}
}
OpenPOWER on IntegriCloud