commit 7f9aa8388f19012b6b11b0077422ee0c7a8cb286 Author: Tomas Mraz tmraz@fedoraproject.org Date: Fri Sep 13 14:04:08 2013 +0200
Add missing ')'
modules/pam_unix/pam_unix_passwd.c: Add missing ')'..
modules/pam_unix/pam_unix_passwd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c index 9bc1cd9..9aae3b0 100644 --- a/modules/pam_unix/pam_unix_passwd.c +++ b/modules/pam_unix/pam_unix_passwd.c @@ -255,7 +255,7 @@ static int _unix_run_update_binary(pam_handle_t *pamh, unsigned int ctrl, const close(fds[0]); /* close here to avoid possible SIGPIPE above */ close(fds[1]); /* 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_update waitpid failed: %m"); retval = PAM_AUTHTOK_ERR;
linux-pam-commits@lists.fedorahosted.org