diff options
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ char *fmtalloc(const char *format, ...) | |||
78 | void html_raw(const char *data, size_t size) | 78 | void html_raw(const char *data, size_t size) |
79 | { | 79 | { |
80 | if (write(htmlfd, data, size) != size) | 80 | if (write(htmlfd, data, size) != size) |
81 | fprintf(stderr, "[html.c] html output truncated.\n"); | 81 | die_errno("write error on html output"); |
82 | } | 82 | } |
83 | 83 | ||
84 | void html(const char *txt) | 84 | void html(const char *txt) |