diff --git a/usr.bin/makewhatis/makewhatis.c b/usr.bin/makewhatis/makewhatis.c index 4fbdedfc5d97..509843156de6 100644 --- a/usr.bin/makewhatis/makewhatis.c +++ b/usr.bin/makewhatis/makewhatis.c @@ -598,6 +598,7 @@ process_mdoc_line(char *line) return; if (line[0] != '.' || !isupper(line[1]) || !islower(line[2])) { add_nroff(skip_spaces(line)); + sbuf_append(whatis_proto, " ", 1); return; } xref = strncmp(line, ".Xr", 3) == 0;