diff options
author | ken <ken@FreeBSD.org> | 2011-06-13 22:08:24 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2011-06-13 22:08:24 +0000 |
commit | b8dcfe0228713cd46d96c831843ee6c8bbcb84e3 (patch) | |
tree | 15e5ed1216125016e87d67a3fccfcb341ac1efd1 /contrib/tcsh/tc.alloc.c | |
parent | f3f56007b6ff44fbfe31c8000573e05bc31a6234 (diff) | |
download | FreeBSD-src-b8dcfe0228713cd46d96c831843ee6c8bbcb84e3.zip FreeBSD-src-b8dcfe0228713cd46d96c831843ee6c8bbcb84e3.tar.gz |
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
Diffstat (limited to 'contrib/tcsh/tc.alloc.c')
0 files changed, 0 insertions, 0 deletions