diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-04-16 16:35:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-04-16 16:35:03 +0000 |
commit | 6d37ff101f58de218bec560b28bb9c81b6972d91 (patch) | |
tree | 496032680e8a934f75fc952c0564f0910b052f65 | |
parent | ae4543b0f708a9f47af1b45d6ad27500d0f8170b (diff) |
shorten "outdated mandoc.db" warning message; requested by deraadt@
-rw-r--r-- | usr.bin/mandoc/main.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c index f9b049c4a2a..164ce3d9f0e 100644 --- a/usr.bin/mandoc/main.c +++ b/usr.bin/mandoc/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.137 2015/04/03 08:45:27 schwarze Exp $ */ +/* $OpenBSD: main.c,v 1.138 2015/04/16 16:35:02 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -552,10 +552,8 @@ fs_lookup(const struct manpaths *paths, size_t ipath, return(0); found: - 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]); *res = mandoc_reallocarray(*res, ++*ressz, sizeof(struct manpage)); page = *res + (*ressz - 1); page->file = file; |