summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-27 00:30:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-27 00:30:40 +0000
commit7278b90754787266ca3bd283adbba38091595487 (patch)
tree203a6377970942dba4e16235700aa564f066131c
parent2522d763b092433ecab5e1d79f2ff9cd8bba1466 (diff)
downloadmandoc-7278b90754787266ca3bd283adbba38091595487.tar.gz
fix build when HAVE_MANPATH is set; patch from <bapt at FreeBSD>
-rw-r--r--manpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manpath.c b/manpath.c
index 6e1ce1d3..02583538 100644
--- a/manpath.c
+++ b/manpath.c
@@ -80,7 +80,7 @@ manpath_parse(struct manpaths *dirs, const char *file,
if ( ! ferror(stream) && feof(stream) &&
bsz && '\n' == buf[bsz - 1]) {
buf[bsz - 1] = '\0';
- manpath_parseline(dirs, buf);
+ manpath_parseline(dirs, buf, 1);
}
free(buf);