From 8121567cf62b9fd0bf957d8ff2a6962054e08e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 31 Mar 2012 23:12:54 +0000 Subject: [PATCH] More cases in which Fn should be used instead of Nm. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@545 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- misc/gendoc.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/gendoc.pl b/misc/gendoc.pl index 702ce6e..b1eeb10 100644 --- a/misc/gendoc.pl +++ b/misc/gendoc.pl @@ -474,7 +474,7 @@ $func->{'man'} } elsif ($func->{'type'} eq "int" && @errors) { $mdoc .= ".Sh RETURN VALUES The -.Nm +.Fn $func->{'name'} function returns one of the following values: .Bl -tag -width 18n "; @@ -485,13 +485,13 @@ function returns one of the following values: } elsif ($func->{'type'} eq "int") { $mdoc .= ".Sh RETURN VALUES The -.Nm +.Fn $func->{'name'} function returns 0 on success and -1 on failure. "; } elsif ($func->{'type'} =~ m/\*$/) { $mdoc .= ".Sh RETURN VALUES The -.Nm +.Fn $func->{'name'} function returns .Dv NULL on failure. @@ -503,7 +503,7 @@ on failure. $mdoc .= ".Sh STANDARDS\n"; if ($func->{'openpam'}) { $mdoc .= "The -.Nm +.Fn $func->{'name'} function is an OpenPAM extension. "; } else { @@ -515,7 +515,7 @@ function is an OpenPAM extension. } $mdoc .= ".Sh AUTHORS The -.Nm +.Fn $func->{'name'} function and this manual page were developed for the .Fx Project by\n" . $AUTHORS{$func->{'author'} // 'THINKSEC_DARPA'} . "\n";