diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-28 14:48:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-28 14:48:25 +0000 |
commit | e01a5f87599da8a5f2630d0dccb546bb429575f1 (patch) | |
tree | cf47586cdc2d5025e0ff36fcb83d1c6ce2a52ffb /mandocdb.c | |
parent | 240a95dd38912a856ad5caf04ea0d485680a3b53 (diff) | |
download | mandoc-e01a5f87599da8a5f2630d0dccb546bb429575f1.tar.gz |
When the mparse_alloc() prototype changed in read.c 1.179, updating
the enum constant was forgotten in this call. No functional change
since the mmsg argument is NULL anyway.
Found by florian@ with clang.
Diffstat (limited to 'mandocdb.c')
-rw-r--r-- | mandocdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -420,7 +420,7 @@ mandocdb(int argc, char *argv[]) exitcode = (int)MANDOCLEVEL_OK; mchars_alloc(); - mp = mparse_alloc(mparse_options, MANDOCLEVEL_BADARG, NULL, + mp = mparse_alloc(mparse_options, MANDOCERR_MAX, NULL, MANDOC_OS_OTHER, NULL); mandoc_ohash_init(&mpages, 6, offsetof(struct mpage, inodev)); mandoc_ohash_init(&mlinks, 6, offsetof(struct mlink, file)); |