diff options
Diffstat (limited to 'src/miscbltin.c')
-rw-r--r-- | src/miscbltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/miscbltin.c b/src/miscbltin.c index f507381..e354df4 100644 --- a/src/miscbltin.c +++ b/src/miscbltin.c @@ -44,7 +44,7 @@ #include <unistd.h> #include <stdlib.h> #include <ctype.h> -#include <stdint.h> +#include <inttypes.h> #include "shell.h" #include "options.h" @@ -410,7 +410,7 @@ static void printlim(enum limtype how, const struct rlimit *limit, out1fmt("unlimited\n"); else { val /= l->factor; - out1fmt("%jd\n", (intmax_t) val); + out1fmt("%" PRIdMAX "\n", (intmax_t) val); } } |