=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/html.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- src/usr.bin/mandoc/html.c 2010/07/31 21:43:07 1.14 +++ src/usr.bin/mandoc/html.c 2010/08/20 00:53:35 1.15 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.14 2010/07/31 21:43:07 schwarze Exp $ */ +/* $Id: html.c,v 1.15 2010/08/20 00:53:35 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -112,7 +112,7 @@ h = calloc(1, sizeof(struct html)); if (NULL == h) { perror(NULL); - exit(EXIT_FAILURE); + exit(MANDOCLEVEL_SYSERR); } h->type = type; @@ -394,7 +394,7 @@ t = malloc(sizeof(struct tag)); if (NULL == t) { perror(NULL); - exit(EXIT_FAILURE); + exit(MANDOCLEVEL_SYSERR); } t->tag = tag; t->next = h->tags.head;