summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_once.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-04-09 21:06:51 +0000
committerjhb <jhb@FreeBSD.org>2015-04-09 21:06:51 +0000
commit0fbe5b3df813c02a8ba34d7696447fa1b2ed0b89 (patch)
treea90da15c29c6205813714df43a55bf2ac626ad00 /lib/libthr/thread/thr_once.c
parenta251dcdd5c550663dea0a2db7ec7ce2336256e0c (diff)
downloadFreeBSD-src-0fbe5b3df813c02a8ba34d7696447fa1b2ed0b89.zip
FreeBSD-src-0fbe5b3df813c02a8ba34d7696447fa1b2ed0b89.tar.gz
MFC 279951:
Simplify string mangling in ifmaybeload(). - Use strlcpy() instead of strcpy(). - Use strlcat() instead of a strlcpy() with a magic number subtracted from the length. - Replace strncmp(..., strlen(foo) + 1) with strcmp(...).
Diffstat (limited to 'lib/libthr/thread/thr_once.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud