]> git.cameronkatri.com Git - mandoc.git/blobdiff - mdoc_html.c
Clarified EXIT STATUS sections. Discussed among schwarze@, Thomas, and
[mandoc.git] / mdoc_html.c
index 161aec5ad0a00ef7b7c8df6647243a981eb5cd5b..1ee5c07667e1ca1baf1c77b4e59edb546c81f4a5 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: mdoc_html.c,v 1.101 2010/08/07 17:20:17 schwarze Exp $ */
+/*     $Id: mdoc_html.c,v 1.102 2010/08/20 01:02:07 schwarze Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
  *
@@ -1183,7 +1183,7 @@ mdoc_bl_pre(MDOC_ARGS)
        ord = malloc(sizeof(struct ord));
        if (NULL == ord) {
                perror(NULL);
-               exit(EXIT_FAILURE);
+               exit(MANDOCLEVEL_SYSERR);
        }
        ord->cookie = n;
        ord->pos = 1;