X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/2ba814d7db70eb5d286afab67d67716cd8d0906e..9425244d2b742390e69a9fedde12afadefb6802b:/html.c?ds=inline diff --git a/html.c b/html.c index 24c17fb2..138d3e4c 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.110 2010/07/26 22:26:05 kristaps Exp $ */ +/* $Id: html.c,v 1.112 2010/09/04 20:18:53 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -116,7 +116,7 @@ ml_alloc(char *outopts, enum htmltype type) h = calloc(1, sizeof(struct html)); if (NULL == h) { perror(NULL); - exit(EXIT_FAILURE); + exit((int)MANDOCLEVEL_SYSERR); } h->type = type; @@ -398,7 +398,7 @@ print_otag(struct html *h, enum htmltag tag, t = malloc(sizeof(struct tag)); if (NULL == t) { perror(NULL); - exit(EXIT_FAILURE); + exit((int)MANDOCLEVEL_SYSERR); } t->tag = tag; t->next = h->tags.head;