summaryrefslogtreecommitdiffstats
path: root/term-utils
diff options
context:
space:
mode:
authorRuediger Meier2018-05-16 12:37:17 +0200
committerRuediger Meier2018-05-16 12:41:08 +0200
commitaafa27c1ff835165216cfaba18581b8cda0db7cd (patch)
treea7fc2c2f220687cdef11fb58c1d7467f0d2471f5 /term-utils
parentlsblk: fix notes about RAM disks (diff)
downloadkernel-qcow2-util-linux-aafa27c1ff835165216cfaba18581b8cda0db7cd.tar.gz
kernel-qcow2-util-linux-aafa27c1ff835165216cfaba18581b8cda0db7cd.tar.xz
kernel-qcow2-util-linux-aafa27c1ff835165216cfaba18581b8cda0db7cd.zip
script: fix printf format specifiers
Noticed on 32bit builds. Types changed in 0da73643. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'term-utils')
-rw-r--r--term-utils/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term-utils/script.c b/term-utils/script.c
index bbf52efd5..6d5ddd84a 100644
--- a/term-utils/script.c
+++ b/term-utils/script.c
@@ -454,8 +454,8 @@ static void handle_io(struct script_control *ctl, int fd, int *eof)
/* check output limit */
if (ctl->maxsz != 0 && ctl->outsz >= ctl->maxsz) {
if (!ctl->quiet)
- printf(_("Script terminated, max output file size %zd exceeded.\n"), ctl->maxsz);
- DBG(IO, ul_debug("output size %zd, exceeded limit %zd", ctl->outsz, ctl->maxsz));
+ printf(_("Script terminated, max output file size %"PRIu64" exceeded.\n"), ctl->maxsz);
+ DBG(IO, ul_debug("output size %"PRIu64", exceeded limit %"PRIu64, ctl->outsz, ctl->maxsz));
done_log(ctl, _("max output size exceeded"));
}
}