summaryrefslogtreecommitdiffstats
path: root/contrib/openpam/lib/pam_end.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-12-16 15:28:05 +0000
committerdes <des@FreeBSD.org>2002-12-16 15:28:05 +0000
commit9c13a1ee5f744e6c21ae65cb3ed17e00d241a72f (patch)
treeecbdd15371b5e36058a6a262d89a55baf407a91c /contrib/openpam/lib/pam_end.c
parent7966ff24b5238d36ecd0fce943ba5db101374b4e (diff)
parent18c136aadd659f7b141653f3f614063e70bc59eb (diff)
downloadFreeBSD-src-9c13a1ee5f744e6c21ae65cb3ed17e00d241a72f.zip
FreeBSD-src-9c13a1ee5f744e6c21ae65cb3ed17e00d241a72f.tar.gz
This commit was generated by cvs2svn to compensate for changes in r107937,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/openpam/lib/pam_end.c')
-rw-r--r--contrib/openpam/lib/pam_end.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/openpam/lib/pam_end.c b/contrib/openpam/lib/pam_end.c
index 2c2b2a3..5fb1fb6 100644
--- a/contrib/openpam/lib/pam_end.c
+++ b/contrib/openpam/lib/pam_end.c
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $P4: //depot/projects/openpam/lib/pam_end.c#10 $
+ * $P4: //depot/projects/openpam/lib/pam_end.c#11 $
*/
#include <stdlib.h>
@@ -54,8 +54,9 @@ pam_end(pam_handle_t *pamh,
pam_data_t *dp;
int i;
+ ENTER();
if (pamh == NULL)
- return (PAM_SYSTEM_ERR);
+ RETURNC(PAM_SYSTEM_ERR);
/* clear module data */
while ((dp = pamh->module_data) != NULL) {
@@ -80,7 +81,7 @@ pam_end(pam_handle_t *pamh,
free(pamh);
- return (PAM_SUCCESS);
+ RETURNC(PAM_SUCCESS);
}
/*
OpenPOWER on IntegriCloud