diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/pdf/pdfgen.w | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/tex/errors.w | 3 |
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; |