diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-16 16:36:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-16 16:36:21 +0000 |
commit | fa2f960ee8806072de9b6ea78e8122f19b41c492 (patch) | |
tree | 583d10472abb7ad26c3ee66fd14baa72035b1671 | |
parent | 783bc3a527ff5c2b0e27b9da575cdf4d3cfc63f3 (diff) | |
download | mandoc-fa2f960ee8806072de9b6ea78e8122f19b41c492.tar.gz |
shorten "outdated mandoc.db" warning message; requested by deraadt@
-rw-r--r-- | main.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |