aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit9877de3b4e5cd2a55422bc26181e0b3de61351e6 (patch)
tree70e9b1a0af45ba94b2fbaaa8a3d4a4c15e6672d6
parent42daeb33f995857a79a8630b58e3c8444aa9f9b9 (diff)
downloadmandoc-9877de3b4e5cd2a55422bc26181e0b3de61351e6.tar.gz
mandoc-9877de3b4e5cd2a55422bc26181e0b3de61351e6.tar.zst
mandoc-9877de3b4e5cd2a55422bc26181e0b3de61351e6.zip
shorten "outdated mandoc.db" warning message; requested by deraadt@
-rw-r--r--main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/main.c b/main.c
index 61e90fe5..2872259d 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.232 2015/04/03 08:46:17 schwarze Exp $ */
+/* $Id: main.c,v 1.233 2015/04/16 16:36:21 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;