summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/sys-utils/xlosetup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/sys-utils/xlosetup.c b/src/utils/sys-utils/xlosetup.c
index cbc2e69..abf3867 100644
--- a/src/utils/sys-utils/xlosetup.c
+++ b/src/utils/sys-utils/xlosetup.c
@@ -154,8 +154,8 @@ static int printf_loopdev(struct loopdev_cxt *lc)
goto done;
}
- printf("%s: [%04d]:%" PRIu64 " (%s)",
- loopcxt_get_device(lc), (int) dev, ino, fname);
+ printf("%s: [%04d]:%" PRIuMAX " (%s)",
+ loopcxt_get_device(lc), (int) dev, (uintmax_t)ino, fname);
if (loopcxt_get_offset(lc, &x) == 0 && x)
printf(_(", offset %ju"), x);