]> granicus.if.org Git - linux-pam/blobdiff - modules/pam_unix/pam_unix_passwd.c
Add missing ')'
[linux-pam] / modules / pam_unix / pam_unix_passwd.c
index 9bc1cd9e700d5999cf415192ec71bc9f0045996f..9aae3b03de3531c5542fc3acaff620819b8ee400 100644 (file)
@@ -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;