summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/tc.alloc.c
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2011-06-13 22:08:24 +0000
committerken <ken@FreeBSD.org>2011-06-13 22:08:24 +0000
commitb8dcfe0228713cd46d96c831843ee6c8bbcb84e3 (patch)
tree15e5ed1216125016e87d67a3fccfcb341ac1efd1 /contrib/tcsh/tc.alloc.c
parentf3f56007b6ff44fbfe31c8000573e05bc31a6234 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud