summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cgi.c2
-rw-r--r--demandoc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index 6b33976a..7255ce9c 100644
--- a/cgi.c
+++ b/cgi.c
@@ -739,7 +739,7 @@ format(const struct req *req, const char *file)
return;
}
- mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL, 0);
+ mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL, NULL);
rc = mparse_readfd(mp, fd, file);
close(fd);
diff --git a/demandoc.c b/demandoc.c
index f7308f1f..b120da2f 100644
--- a/demandoc.c
+++ b/demandoc.c
@@ -76,7 +76,7 @@ main(int argc, char *argv[])
argc -= optind;
argv += optind;
- mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL, 0);
+ mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL, NULL);
assert(mp);
if (0 == argc)