summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-10-18 08:09:44 +0000
committered <ed@FreeBSD.org>2011-10-18 08:09:44 +0000
commit832b15d2892554b2c0a2cee0eed9ac42c333606b (patch)
treeeb0defb246740f5e1409bc9224c1136f3e8ddbe3 /sys/security
parent9ae319147303a93acadebefb29731814c8bad338 (diff)
downloadFreeBSD-src-832b15d2892554b2c0a2cee0eed9ac42c333606b.zip
FreeBSD-src-832b15d2892554b2c0a2cee0eed9ac42c333606b.tar.gz
Get rid of D_PSEUDO.
It seems the D_PSEUDO flag was meant to allow make_dev() to return NULL. Nowadays we have a different interface for that; make_dev_p(). There's no need to keep it there. While there, remove an unneeded D_NEEDMINOR from the gpio driver. Discussed with: gonzo@ (gpio)
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/audit/audit_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c
index a953eb0..dc0df3e 100644
--- a/sys/security/audit/audit_pipe.c
+++ b/sys/security/audit/audit_pipe.c
@@ -231,7 +231,7 @@ static d_kqfilter_t audit_pipe_kqfilter;
static struct cdevsw audit_pipe_cdevsw = {
.d_version = D_VERSION,
- .d_flags = D_PSEUDO | D_NEEDMINOR,
+ .d_flags = D_NEEDMINOR,
.d_open = audit_pipe_open,
.d_close = audit_pipe_close,
.d_read = audit_pipe_read,
OpenPOWER on IntegriCloud