aboutsummaryrefslogtreecommitdiff
path: root/posix/getconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/getconf.c')
-rw-r--r--posix/getconf.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/posix/getconf.c b/posix/getconf.c
index 7219c8d5a5..f0b8c910ab 100644
--- a/posix/getconf.c
+++ b/posix/getconf.c
@@ -662,11 +662,13 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
usage ();
value = sysconf (c->call_name);
if (value == -1l)
- if (c->call_name == _SC_UINT_MAX
- || c->call_name == _SC_ULONG_MAX)
- printf ("%lu\n", value);
- else
- puts (_("undefined"));
+ {
+ if (c->call_name == _SC_UINT_MAX
+ || c->call_name == _SC_ULONG_MAX)
+ printf ("%lu\n", value);
+ else
+ puts (_("undefined"));
+ }
else
printf ("%ld\n", value);
exit (0);