* added gcc printf format checking to wprintf
[citadel.git] / webcit / html2html.c
index a695292fe869c349f13f3f20ccd68d76b8544c2d..c65e674bcd69c649c65d3248fb9dcf66b829129f 100644 (file)
@@ -268,7 +268,7 @@ void output_html(char *supplied_charset, int treat_as_wiki) {
        converted_alloc = content_length + 8192;
        converted_msg = malloc(converted_alloc);
        if (converted_msg == NULL) {
-               wprintf("Error %d: %s<br />%s:%s", errno, strerror(errno), __FILE__, __LINE__);
+               wprintf("Error %d: %s<br />%s:%d", errno, strerror(errno), __FILE__, __LINE__);
                goto BAIL;
        }