aboutsummaryrefslogtreecommitdiff
path: root/contrib/openpam/lib/pam_acct_mgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/openpam/lib/pam_acct_mgmt.c')
-rw-r--r--contrib/openpam/lib/pam_acct_mgmt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/openpam/lib/pam_acct_mgmt.c b/contrib/openpam/lib/pam_acct_mgmt.c
index 35e24d8e075b..4adfe53cbd8f 100644
--- a/contrib/openpam/lib/pam_acct_mgmt.c
+++ b/contrib/openpam/lib/pam_acct_mgmt.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_acct_mgmt.c#9 $
+ * $P4: //depot/projects/openpam/lib/pam_acct_mgmt.c#10 $
*/
#include <sys/param.h>
@@ -51,8 +51,11 @@ int
pam_acct_mgmt(pam_handle_t *pamh,
int flags)
{
+ int pam_err;
- return (openpam_dispatch(pamh, PAM_SM_ACCT_MGMT, flags));
+ ENTER();
+ pam_err = openpam_dispatch(pamh, PAM_SM_ACCT_MGMT, flags);
+ RETURNC(pam_err);
}
/*