diff options
author | ed <ed@FreeBSD.org> | 2011-10-18 08:09:44 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2011-10-18 08:09:44 +0000 |
commit | 832b15d2892554b2c0a2cee0eed9ac42c333606b (patch) | |
tree | eb0defb246740f5e1409bc9224c1136f3e8ddbe3 /sys/security/audit | |
parent | 9ae319147303a93acadebefb29731814c8bad338 (diff) | |
download | FreeBSD-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/audit')
-rw-r--r-- | sys/security/audit/audit_pipe.c | 2 |
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, |