diff options
author | Kenneth D. Merry <ken@FreeBSD.org> | 2011-06-13 22:08:24 +0000 |
---|---|---|
committer | Kenneth D. Merry <ken@FreeBSD.org> | 2011-06-13 22:08:24 +0000 |
commit | 094efe753d455b44d76c9f06a2e9e9114a4859b2 (patch) | |
tree | 15e5ed1216125016e87d67a3fccfcb341ac1efd1 /contrib/sendmail/libsmdb/smdb1.c | |
parent | 27c959cf05617ed3cf56777f26f07fb0a5ebf67b (diff) |
Instead of using an atomic operation to determine whether the devstat(9)
device node has been created, pass MAKEDEV_CHECKNAME in so that the devfs
code will do the check.
Use a regular static variable as before, that's good enough to keep us from
calling into devfs most of the time.
Suggested by: kib
MFC after: 1 week
Sponsored by: Spectra Logic Corporation
Notes
Notes:
svn path=/head/; revision=223062
Diffstat (limited to 'contrib/sendmail/libsmdb/smdb1.c')
0 files changed, 0 insertions, 0 deletions