From 9877de3b4e5cd2a55422bc26181e0b3de61351e6 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 16 Apr 2015 16:36:21 +0000 Subject: shorten "outdated mandoc.db" warning message; requested by deraadt@ --- main.c | 8 +++----- 1 file 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 * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze @@ -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; -- cgit v1.2.3-56-ge451