script: fix printf format specifiers

Noticed on 32bit builds. Types changed in 0da73643.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
This commit is contained in:
Ruediger Meier 2018-05-16 12:37:17 +02:00
parent 3d15a5e852
commit aafa27c1ff
1 changed files with 2 additions and 2 deletions

View File

@ -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"));
}
}