]> git.pld-linux.org Git - packages/pam.git/blame - pam_unix_passwd-typo.patch
upstream fix for typo
[packages/pam.git] / pam_unix_passwd-typo.patch
CommitLineData
b79f57ad
ER
1From 7f9aa8388f19012b6b11b0077422ee0c7a8cb286 Mon Sep 17 00:00:00 2001
2From: Tomas Mraz <tmraz@fedoraproject.org>
3Date: Fri, 13 Sep 2013 12:04:08 +0000
4Subject: Add missing ')'
5
6modules/pam_unix/pam_unix_passwd.c: Add missing ')'..
7---
8diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
9index 9bc1cd9..9aae3b0 100644
10--- a/modules/pam_unix/pam_unix_passwd.c
11+++ b/modules/pam_unix/pam_unix_passwd.c
12@@ -255,7 +255,7 @@ static int _unix_run_update_binary(pam_handle_t *pamh, unsigned int ctrl, const
0bc3c2f5
ER
13 close(fds[0]); /* close here to avoid possible SIGPIPE above */
14 close(fds[1]);
15 /* wait for helper to complete: */
16- while ((rc=waitpid(child, &retval, 0) < 0 && errno == EINTR);
b79f57ad 17+ while ((rc=waitpid(child, &retval, 0)) < 0 && errno == EINTR);
0bc3c2f5
ER
18 if (rc<0) {
19 pam_syslog(pamh, LOG_ERR, "unix_update waitpid failed: %m");
20 retval = PAM_AUTHTOK_ERR;
b79f57ad
ER
21--
22cgit v0.9.2
This page took 0.290914 seconds and 4 git commands to generate.