summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mandocdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mandocdb.c b/mandocdb.c
index 16dda371..328abac7 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -448,10 +448,10 @@ mandocdb(int argc, char *argv[])
if (nodb == 0)
dbprune(dba);
} else {
- /*
- * Database missing or corrupt.
- * Recreate from scratch.
- */
+ /* Database missing or corrupt. */
+ say(MANDOC_DB,
+ "%s: Automatically recreating from scratch",
+ strerror(errno));
exitcode = (int)MANDOCLEVEL_OK;
op = OP_DEFAULT;
if (0 == treescan())