summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 abf3867..768cee9 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]:%" PRIuMAX " (%s)",
- loopcxt_get_device(lc), (int) dev, (uintmax_t)ino, fname);
+ printf("%s: [%04jd]:%ju (%s)",
+ loopcxt_get_device(lc), (intmax_t) dev, (uintmax_t) ino, fname);
if (loopcxt_get_offset(lc, &x) == 0 && x)
printf(_(", offset %ju"), x);