X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/fd00d2f9d6088223f57006949dc6ce7c36316a79..f32a2da636ffa6eaa6b8d0d3f35a673fa12e404a:/html.c diff --git a/html.c b/html.c index f7772dc..03277db 100644 --- a/html.c +++ b/html.c @@ -78,7 +78,7 @@ char *fmtalloc(const char *format, ...) void html_raw(const char *data, size_t size) { if (write(htmlfd, data, size) != size) - fprintf(stderr, "[html.c] html output truncated.\n"); + die_errno("write error on html output"); } void html(const char *txt)