From bd46e58f5b193f62d848bbebfa452aad87c805de Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 18 May 2016 22:36:00 +0000 Subject: Do not hardcode "makewhatis" in a warning message, use BINM_MAKEWHATIS. Patch from Peter Bray . --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index eb056230..53f34f47 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.265 2016/04/14 20:55:48 schwarze Exp $ */ +/* $Id: main.c,v 1.266 2016/05/18 22:36:00 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010-2012, 2014-2016 Ingo Schwarze @@ -664,8 +664,8 @@ fs_lookup(const struct manpaths *paths, size_t ipath, found: #if HAVE_SQLITE3 - warnx("outdated mandoc.db lacks %s(%s) entry, run makewhatis %s", - name, sec, paths->paths[ipath]); + warnx("outdated mandoc.db lacks %s(%s) entry, run %s %s", + name, sec, BINM_MAKEWHATIS, paths->paths[ipath]); #endif *res = mandoc_reallocarray(*res, ++*ressz, sizeof(struct manpage)); page = *res + (*ressz - 1); -- cgit v1.2.3-56-ge451