aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/snp
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-02-24 04:35:44 +0000
committerBruce Evans <bde@FreeBSD.org>2004-02-24 04:35:44 +0000
commit63a97efcbbb058d42cb81f479f737d058b5daff5 (patch)
tree88baf00a8454019eb6b9d9542ca0b25bfaa059f8 /sys/dev/snp
parentaa5191aa75ae7bc0f83863d3ed01ff26c6736b92 (diff)
Notes
Diffstat (limited to 'sys/dev/snp')
-rw-r--r--sys/dev/snp/snp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index 6e4eb9ab710c3..19dc1e7d6f80e 100644
--- a/sys/dev/snp/snp.c
+++ b/sys/dev/snp/snp.c
@@ -40,7 +40,7 @@ static d_poll_t snppoll;
static struct cdevsw snp_cdevsw = {
.d_version = D_VERSION,
- .d_flags = D_NEEDGIANT,
+ .d_flags = D_PSEUDO | D_NEEDGIANT,
.d_open = snpopen,
.d_close = snpclose,
.d_read = snpread,
@@ -48,7 +48,6 @@ static struct cdevsw snp_cdevsw = {
.d_ioctl = snpioctl,
.d_poll = snppoll,
.d_name = "snp",
- .d_flags = D_PSEUDO,
};
static struct linesw snpdisc = {