diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2013-08-30 14:46:47 +0200 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2013-08-30 14:46:47 +0200 |
commit | f11cd89316cc051e23ef080aee5c7d823c6dfce2 (patch) | |
tree | 9799dba4c049586f578865b4126946db11ada651 /modules/pam_unix/pam_unix_acct.c | |
parent | a9ac7fd64000712fdedd4c38b408ffebd2988156 (diff) | |
download | pam-f11cd89316cc051e23ef080aee5c7d823c6dfce2.tar.gz pam-f11cd89316cc051e23ef080aee5c7d823c6dfce2.tar.bz2 pam-f11cd89316cc051e23ef080aee5c7d823c6dfce2.zip |
Fix compile error
* modules/pam_unix/pam_unix_acct.c: fix last change
Diffstat (limited to 'modules/pam_unix/pam_unix_acct.c')
-rw-r--r-- | modules/pam_unix/pam_unix_acct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/pam_unix_acct.c b/modules/pam_unix/pam_unix_acct.c index 7f8250ca..865dc290 100644 --- a/modules/pam_unix/pam_unix_acct.c +++ b/modules/pam_unix/pam_unix_acct.c @@ -143,7 +143,7 @@ int _unix_run_verify_binary(pam_handle_t *pamh, unsigned int ctrl, char buf[32]; int rc=0; /* wait for helper to complete: */ - while ((rc=waitpid(child, &retval, 0) < 0 && errno == EINTR); + while ((rc=waitpid(child, &retval, 0)) < 0 && errno == EINTR); if (rc<0) { pam_syslog(pamh, LOG_ERR, "unix_chkpwd waitpid returned %d: %m", rc); retval = PAM_AUTH_ERR; |