summaryrefslogtreecommitdiffstats
path: root/sbin/restore/interactive.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/restore/interactive.c')
-rw-r--r--sbin/restore/interactive.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/restore/interactive.c b/sbin/restore/interactive.c
index 3cd311d..05d1a58 100644
--- a/sbin/restore/interactive.c
+++ b/sbin/restore/interactive.c
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
#include <glob.h>
#include <limits.h>
#include <setjmp.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -675,7 +676,8 @@ formatf(struct afile *list, int nentry)
for (j = 0; j < columns; j++) {
fp = &list[j * lines + i];
if (vflag) {
- fprintf(stderr, "%*d ", precision, fp->fnum);
+ fprintf(stderr, "%*ju ",
+ precision, (uintmax_t)fp->fnum);
fp->len += precision + 1;
}
if (haveprefix) {
OpenPOWER on IntegriCloud