summaryrefslogtreecommitdiffstats
path: root/usr.bin/getconf/getconf.c
diff options
context:
space:
mode:
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