summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mdoc2man.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mdoc2man.rb b/tool/mdoc2man.rb
index 910b2e5745..0922474b47 100755
--- a/tool/mdoc2man.rb
+++ b/tool/mdoc2man.rb
@@ -190,7 +190,7 @@ class Mdoc2Man
next
when 'Xr'
retval << '\\fB' << words.shift <<
- '\\fP(' << words.shift << ')' << words.shift
+ '\\fP(' << words.shift << ')' << (words.shift||'')
break
when 'Rs'
@refauthors = []