From 7278b90754787266ca3bd283adbba38091595487 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 27 Nov 2014 00:30:40 +0000 Subject: fix build when HAVE_MANPATH is set; patch from --- manpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manpath.c') 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); -- cgit