summaryrefslogtreecommitdiff
path: root/debian/patches-applied
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-07-26 14:15:09 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:01:54 -0800
commitb3e91cdcd4b70cee2ed87ef5bc6d53119d074a57 (patch)
tree3edc9eb4b75e23f39280498c1b2bbddd545ea1c5 /debian/patches-applied
parent58bcdf7acba0a38f0a3909f0adfa61626c12f15a (diff)
whack-a-mole: fix a syntax error missed when hand-applying the patch
Diffstat (limited to 'debian/patches-applied')
-rw-r--r--debian/patches-applied/007_modules_pam_unix2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches-applied/007_modules_pam_unix b/debian/patches-applied/007_modules_pam_unix
index 608eea06..708db65b 100644
--- a/debian/patches-applied/007_modules_pam_unix
+++ b/debian/patches-applied/007_modules_pam_unix
@@ -623,7 +623,7 @@ Index: pam.deb/modules/pam_unix/passverify.c
&& (curdays - spent->sp_lstchg > spent->sp_max + spent->sp_inact)
- && (spent->sp_max != -1) && (spent->sp_inact != -1)) {
+ && (spent->sp_max != -1) && (spent->sp_max != 0)
-+ && (spent->sp_inact != -1) && spent->sp_inact != 0))
++ && (spent->sp_inact != -1) && (spent->sp_inact != 0))
+ {
*daysleft = (int)((spent->sp_lstchg + spent->sp_max) - curdays);
D(("authtok expired"));