diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-05-18 22:36:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-05-18 22:36:00 +0000 |
commit | 5adb984415e684164a7b45cb9413ef2644e149e7 (patch) | |
tree | 13d08f7bc949cec8cd6778ce66bff1cedbdbceb2 | |
parent | 720fa001cacf46d69069baa9b3b16f3742e844b3 (diff) | |
download | mandoc-5adb984415e684164a7b45cb9413ef2644e149e7.tar.gz |
Do not hardcode "makewhatis" in a warning message, use BINM_MAKEWHATIS.
Patch from Peter Bray <pdb_ml at yahoo dot com dot au>.
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |