X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/2ba814d7db70eb5d286afab67d67716cd8d0906e..1a3bd1cb27795956ca71c666968330b81362d013:/term.c?ds=inline diff --git a/term.c b/term.c index c0507cda..41c6c655 100644 --- a/term.c +++ b/term.c @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.166 2010/07/26 22:26:05 kristaps Exp $ */ +/* $Id: term.c,v 1.167 2010/08/20 01:02:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -83,7 +83,7 @@ term_alloc(enum termenc enc) p = calloc(1, sizeof(struct termp)); if (NULL == p) { perror(NULL); - exit(EXIT_FAILURE); + exit(MANDOCLEVEL_SYSERR); } p->enc = enc; @@ -577,7 +577,7 @@ adjbuf(struct termp *p, size_t sz) p->buf = realloc(p->buf, p->maxcols); if (NULL == p->buf) { perror(NULL); - exit(EXIT_FAILURE); + exit(MANDOCLEVEL_SYSERR); } }