summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2013-09-13 14:04:08 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2013-09-13 14:04:08 +0200
commit7f9aa8388f19012b6b11b0077422ee0c7a8cb286 (patch)
treebc474a6c0a3bf9e0743a1fcf96f6d48768b43458
parentc4d8ba02bd5efbd8f6b1fae11b78c096b41c57eb (diff)
Add missing ')'
modules/pam_unix/pam_unix_passwd.c: Add missing ')'..
-rw-r--r--modules/pam_unix/pam_unix_passwd.c2
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 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;