]> granicus.if.org Git - linux-pam/commitdiff
Docfix: pam_prompt() and pam_vprompt() return int.
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 14 Oct 2013 12:09:22 +0000 (14:09 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 14 Oct 2013 12:09:22 +0000 (14:09 +0200)
doc/man/pam_prompt.3.xml: pam_prompt() and pam_vprompt() return int.

doc/man/pam_prompt.3.xml

index b526457e41930175a81801118bdecab0d99b18f4..8b502a9d6c00f57ee7347621360315f0c1af0d48 100644 (file)
@@ -22,7 +22,7 @@
     <funcsynopsis>
       <funcsynopsisinfo>#include &lt;security/pam_ext.h&gt;</funcsynopsisinfo>
       <funcprototype>
-        <funcdef>void <function>pam_prompt</function></funcdef>
+        <funcdef>int <function>pam_prompt</function></funcdef>
         <paramdef>pam_handle_t *<parameter>pamh</parameter></paramdef>
         <paramdef>int <parameter>style</parameter></paramdef>
         <paramdef>char **<parameter>response</parameter></paramdef>
@@ -30,7 +30,7 @@
         <paramdef><parameter>...</parameter></paramdef>
       </funcprototype>
       <funcprototype>
-        <funcdef>void <function>pam_vprompt</function></funcdef>
+        <funcdef>int <function>pam_vprompt</function></funcdef>
         <paramdef>pam_handle_t *<parameter>pamh</parameter></paramdef>
         <paramdef>int <parameter>style</parameter></paramdef>
         <paramdef>char **<parameter>response</parameter></paramdef>
@@ -75,7 +75,7 @@
         <term>PAM_SUCCESS</term>
         <listitem>
            <para>
-             Transaction was successful created.
+              Conversation succeded, response is set.
           </para>
         </listitem>
       </varlistentry>