diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-09 07:26:34 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-09 07:26:34 +0000 |
commit | 9ad048467a59c7869d22722d9c9ca5db7917a3ca (patch) | |
tree | e0103cd2b67ecc72131a00125cf5296dcc088fc5 /etc/services | |
parent | cc82888695553f77d5979214f27c455c74620c98 (diff) | |
download | FreeBSD-src-9ad048467a59c7869d22722d9c9ca5db7917a3ca.zip FreeBSD-src-9ad048467a59c7869d22722d9c9ca5db7917a3ca.tar.gz |
MFC r290190,r290251:
r290190:
Fix compiler warnings with open_to_operation.c
Other sidenotes:
- Remove unused variables with main(..)
- Convert errx/exit with -1 to errx/exit with 1
- Fix a bogus test in try_directory_open
(expected_errno == expected_errno -> errno == expected_errno) [*]
- Fix some warnings related to discarded qualifiers
- Remove a bogus else-statement at the end of check_mmap_exec(..) in the
successful case. mmap(2), POSIX, Linux, etc all don't state what the
behavior is when mixing O_WRONLY + PROT_EXEC, so assume success for now to
get the test program to pass again.
PR: 201286 [*]
Submitted by: David Binderman <dcb314@hotmail.com>
Sponsored by: EMC / Isilon Storage Division
r290251:
Use nitems(x) instead of sizeof(x)/sizeof(x[0])
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'etc/services')
0 files changed, 0 insertions, 0 deletions