summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_man.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-04-05 22:04:37 +0000
committerschwarze <schwarze@openbsd.org>2018-04-05 22:04:37 +0000
commit72ee7308711c17c07617c4c5c50ab84843878298 (patch)
treefef715be6cafaf8d8829c5f399794b44ae198f3e /usr.bin/mandoc/mdoc_man.c
parentAdd more initialization code such that things work with the EDK2-based (diff)
downloadwireguard-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.c4
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: