diff options
author | 2014-11-08 22:13:47 +0000 | |
---|---|---|
committer | 2014-11-08 22:13:47 +0000 | |
commit | b32f2c1b2453d6db539c06546cd87424026f2c7a (patch) | |
tree | d9ce7cc23340eec1c6b422cc065f80af11908e30 /lib/libc | |
parent | Use open(O_CLOEXEC) rather than open() + fcntl(FD_CLOEXEC). Inspired (diff) | |
download | wireguard-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