summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-30 22:07:55 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-12-30 22:07:55 +0000
commit77437ae4957e5d0734cd1223f049bb8cb3f46188 (patch)
treed5de456011a3a8975f2fe2aff4f35634ada6d74d /Build
parentefd04876546c079e88223f41f271dc911bef12c9 (diff)
web2c/luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@39242 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/luatexdir/pdf/pdfgen.w2
-rw-r--r--Build/source/texk/web2c/luatexdir/tex/errors.w3
2 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
index 7c76e192635..a072b192b4e 100644
--- a/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
+++ b/Build/source/texk/web2c/luatexdir/pdf/pdfgen.w
@@ -2046,7 +2046,7 @@ static void check_nonexisting_pages(PDF pdf)
avl_t_init(&t, page_tree);
/* search from the end backward until the last real page is found */
for (p = avl_t_last(&t, page_tree); p != NULL && obj_aux(pdf, p->objptr) == 0; p = avl_t_prev(&t)) {
- formatted_warning("pdf backend", "page %s has been referenced but does not exist",obj_info(pdf, p->objptr));
+ formatted_warning("pdf backend", "page %d has been referenced but does not exist",obj_info(pdf, p->objptr));
}
}
diff --git a/Build/source/texk/web2c/luatexdir/tex/errors.w b/Build/source/texk/web2c/luatexdir/tex/errors.w
index 227095d3f09..506b0b75411 100644
--- a/Build/source/texk/web2c/luatexdir/tex/errors.w
+++ b/Build/source/texk/web2c/luatexdir/tex/errors.w
@@ -762,7 +762,7 @@ void normal_warning(const char *t, const char *p)
@ @c
static char print_buf[PRINTF_BUF_SIZE];
-
+__attribute__ ((format(printf, 2,3)))
void formatted_error(const char *t, const char *fmt, ...)
{
va_list args;
@@ -772,6 +772,7 @@ void formatted_error(const char *t, const char *fmt, ...)
va_end(args);
}
+__attribute__ ((format(printf, 2,3)))
void formatted_warning(const char *t, const char *fmt, ...)
{
va_list args;