summaryrefslogtreecommitdiffstats
path: root/usr.bin/getconf/getconf.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-10-27 04:10:34 +0000
committerwollman <wollman@FreeBSD.org>2002-10-27 04:10:34 +0000
commit42aee7688f31eaf5c0bbbb9feb417b98fa807551 (patch)
treeecf2a4791500bde9262ec73d613db6c74b5e63d8 /usr.bin/getconf/getconf.c
parent1a051dea64e3c74c731afe21cc867a6fa9017e9a (diff)
downloadFreeBSD-src-42aee7688f31eaf5c0bbbb9feb417b98fa807551.zip
FreeBSD-src-42aee7688f31eaf5c0bbbb9feb417b98fa807551.tar.gz
Add new 1003.1-2001/TC1/D6 parameters. (On final recirculation ballot now,
so this should be officially TC1 before the New Year.) Add TrustedBSD pathconf parameters. Add compilation support for -stable (to be merged momentarily).
Diffstat (limited to 'usr.bin/getconf/getconf.c')
-rw-r--r--usr.bin/getconf/getconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c
index 1e991b6..8bfeb93 100644
--- a/usr.bin/getconf/getconf.c
+++ b/usr.bin/getconf/getconf.c
@@ -98,7 +98,7 @@ main(int argc, char **argv)
if (argv[optind + 1] == NULL) { /* confstr or sysconf */
if ((valid = find_limit(name, &limitval)) != 0) {
if (valid > 0)
- printf("%jd\n", limitval);
+ printf("%" PRIdMAX "\n", limitval);
else
printf("undefined\n");
OpenPOWER on IntegriCloud