summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-04-16 16:36:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-04-16 16:36:21 +0000
commitfa2f960ee8806072de9b6ea78e8122f19b41c492 (patch)
tree583d10472abb7ad26c3ee66fd14baa72035b1671
parent783bc3a527ff5c2b0e27b9da575cdf4d3cfc63f3 (diff)
downloadmandoc-fa2f960ee8806072de9b6ea78e8122f19b41c492.tar.gz
shorten "outdated mandoc.db" warning message; requested by deraadt@
-rw-r--r--main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/main.c b/main.c
index 8068d3d5..e9cc6d6c 100644
--- a/main.c
+++ b/main.c
@@ -576,11 +576,9 @@ fs_lookup(const struct manpaths *paths, size_t ipath,
found:
#if HAVE_SQLITE3
- fprintf(stderr, "%s: outdated mandoc.db lacks %s(%s) entry,\n"
- " consider running # makewhatis %s\n",
- progname, name, sec, paths->paths[ipath]);
+ fprintf(stderr, "%s: outdated mandoc.db lacks %s(%s) entry, run "
+ "makewhatis %s\n", progname, name, sec, paths->paths[ipath]);
#endif
-
*res = mandoc_reallocarray(*res, ++*ressz, sizeof(struct manpage));
page = *res + (*ressz - 1);
page->file = file;