diff options
author | ngie <ngie@FreeBSD.org> | 2016-09-01 19:10:42 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-09-01 19:10:42 +0000 |
commit | 2bcbc04a48e23b407a4b51ee022ca22c15e29416 (patch) | |
tree | 72fc288ffad48070aa49163bff7c0664eb8683fe /usr.bin/getconf/getconf.c | |
parent | e72e022b3c4db02a004f07dd6ebe7775472621c4 (diff) | |
download | FreeBSD-src-2bcbc04a48e23b407a4b51ee022ca22c15e29416.zip FreeBSD-src-2bcbc04a48e23b407a4b51ee022ca22c15e29416.tar.gz |
MFstable/11 r304949,r305226:
r304949:
MFC r303830,r304693,r304694,r304698:
r303830:
Remove vestigal references to __alpha__
Replace alpha reference in getconf(1) with amd64 [*]
PR: 211300 [*]
r304693:
Clean up trailing whitespace
r304694:
Add `MIN_HOLE_SIZE` pathconf(2) support to getconf
This allows shell programs to programmatically determine whether
or not a filesystem supports sparse files
r304698:
Add support for _PC_ACL_NFS4 as TRUSTEDBSD_ACL_NFS4
The TRUSTEDBSD prefix was chosen for consistency with the other
related `_PC_ACL*` prefixed variables.
r305226:
MFC r304809:
Add non-TRUSTEDBSD prefixed knobs for the _PC_ACL* and {CAP,INF,MAC}_PRESENT knobs
It's not necessarily intuitive that the variables to query contain TRUSTEDBSD
in the prefix. Add non-TRUSTEDBSD prefixed knobs for querying things like
"_PC_ACL_NFS4".
Relnotes: yes
Diffstat (limited to 'usr.bin/getconf/getconf.c')
-rw-r--r-- | usr.bin/getconf/getconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c index 5f88db6..a82196e 100644 --- a/usr.bin/getconf/getconf.c +++ b/usr.bin/getconf/getconf.c @@ -109,13 +109,13 @@ main(int argc, char **argv) do_confstr(name, key); else printf("undefined\n"); - } else { + } else { valid = find_sysconf(name, &key); if (valid > 0) { do_sysconf(name, key); } else if (valid < 0) { printf("undefined\n"); - } else + } else errx(EX_USAGE, "no such configuration parameter `%s'", name); |