From: Tomas Mraz Date: Fri, 13 Sep 2013 12:04:08 +0000 (+0200) Subject: Add missing ')' X-Git-Tag: Linux-PAM-1_1_8~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f9aa8388f19012b6b11b0077422ee0c7a8cb286;p=linux-pam Add missing ')' modules/pam_unix/pam_unix_passwd.c: Add missing ')'.. --- diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c index 9bc1cd9e..9aae3b03 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;