summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2014-11-08 22:13:47 +0000
committerbrad <brad@openbsd.org>2014-11-08 22:13:47 +0000
commitb32f2c1b2453d6db539c06546cd87424026f2c7a (patch)
treed9ce7cc23340eec1c6b422cc065f80af11908e30 /lib/libc
parentUse open(O_CLOEXEC) rather than open() + fcntl(FD_CLOEXEC). Inspired (diff)
downloadwireguard-openbsd-b32f2c1b2453d6db539c06546cd87424026f2c7a.tar.xz
wireguard-openbsd-b32f2c1b2453d6db539c06546cd87424026f2c7a.zip
Check the mode flag being passed in to mmopen() instead of ignoring it.
Pointed out by LLVM. mmfile.c:51:7: warning: explicitly assigning a variable of type 'char *' to itself [-Wself-assign] ok millert@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions