From aafa27c1ff835165216cfaba18581b8cda0db7cd Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Wed, 16 May 2018 12:37:17 +0200 Subject: script: fix printf format specifiers Noticed on 32bit builds. Types changed in 0da73643. Signed-off-by: Ruediger Meier --- term-utils/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'term-utils') 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")); } } -- cgit v1.2.3-55-g7522