summaryrefslogtreecommitdiffstats
path: root/usr.bin/getconf/getconf.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-08-28 07:16:11 +0000
committerngie <ngie@FreeBSD.org>2016-08-28 07:16:11 +0000
commit7ed453b50bf8f97d17b8f91784c81fe63f981274 (patch)
tree1aba175a04a119aeeea35a0ee73967010244897f /usr.bin/getconf/getconf.c
parenta0ee1f5e5263b159eaa8404042fd76246c3f2480 (diff)
downloadFreeBSD-src-7ed453b50bf8f97d17b8f91784c81fe63f981274.zip
FreeBSD-src-7ed453b50bf8f97d17b8f91784c81fe63f981274.tar.gz
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.
Diffstat (limited to 'usr.bin/getconf/getconf.c')
-rw-r--r--usr.bin/getconf/getconf.c4
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);
OpenPOWER on IntegriCloud