diff options
author | 2018-04-05 22:04:37 +0000 | |
---|---|---|
committer | 2018-04-05 22:04:37 +0000 | |
commit | 72ee7308711c17c07617c4c5c50ab84843878298 (patch) | |
tree | fef715be6cafaf8d8829c5f399794b44ae198f3e /usr.bin/mandoc/mdoc_man.c | |
parent | Add more initialization code such that things work with the EDK2-based (diff) | |
download | wireguard-openbsd-72ee7308711c17c07617c4c5c50ab84843878298.tar.xz wireguard-openbsd-72ee7308711c17c07617c4c5c50ab84843878298.zip |
Do not use a non-portable .R man(7) macro. Neither groff nor the
heirloom-doctools support it. Work around the gap by using .BR
with an empty first argument. This was noticed more than once in
the past, but i always forgot to fix it.
Diffstat (limited to 'usr.bin/mandoc/mdoc_man.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_man.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c index 677bf7b134a..4a9b2357cc3 100644 --- a/usr.bin/mandoc/mdoc_man.c +++ b/usr.bin/mandoc/mdoc_man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_man.c,v 1.122 2018/04/05 08:46:29 schwarze Exp $ */ +/* $OpenBSD: mdoc_man.c,v 1.123 2018/04/05 22:04:37 schwarze Exp $ */ /* * Copyright (c) 2011-2017 Ingo Schwarze <schwarze@openbsd.org> * @@ -1406,7 +1406,7 @@ pre_it(DECL_ARGS) if (bln->norm->Bl.type == LIST_diag) print_line(".B \"", 0); else - print_line(".R \"", 0); + print_line(".BR \\& \"", 0); outflags &= ~MMAN_spc; return 1; case LIST_bullet: |