From ff4ba980a7ed7cd8005219438b31bafe6bed5133 Mon Sep 17 00:00:00 2001 From: schwarze Date: Thu, 16 Apr 2015 16:35:02 +0000 Subject: [PATCH] shorten "outdated mandoc.db" warning message; requested by deraadt@ --- usr.bin/mandoc/main.c | 8 +++----- 1 file 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 * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze @@ -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; -- 2.20.1