* mdocml: Do not hardcode "makewhatis" in a warning message, use
@ 2016-05-18 22:36 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2016-05-18 22:36 UTC (permalink / raw)
To: source
Log Message:
-----------
Do not hardcode "makewhatis" in a warning message, use BINM_MAKEWHATIS.
Patch from Peter Bray <pdb_ml at yahoo dot com dot au>.
Modified Files:
--------------
mdocml:
main.c
Revision Data
-------------
Index: main.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/main.c,v
retrieving revision 1.265
retrieving revision 1.266
diff -Lmain.c -Lmain.c -u -p -r1.265 -r1.266
--- main.c
+++ main.c
@@ -664,8 +664,8 @@ fs_lookup(const struct manpaths *paths,
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);
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-18 22:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-18 22:36 mdocml: Do not hardcode "makewhatis" in a warning message, use schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).