Lines Matching refs:daysleft
59 int daysleft; in auth_shadow_acctexpired() local
63 daysleft = spw->sp_expire - today; in auth_shadow_acctexpired()
65 (int)spw->sp_expire, daysleft); in auth_shadow_acctexpired()
69 } else if (daysleft < 0) { in auth_shadow_acctexpired()
72 } else if (daysleft <= spw->sp_warn) { in auth_shadow_acctexpired()
73 debug3("account will expire in %d days", daysleft); in auth_shadow_acctexpired()
75 "Your account will expire in %d day%s.\n", daysleft, in auth_shadow_acctexpired()
76 daysleft == 1 ? "" : "s"); in auth_shadow_acctexpired()
94 int daysleft, disabled = 0; in auth_shadow_pwexpired() local
121 daysleft = spw->sp_lstchg + spw->sp_max - today; in auth_shadow_pwexpired()
129 } else if (daysleft < 0) { in auth_shadow_pwexpired()
132 } else if (daysleft <= spw->sp_warn) { in auth_shadow_pwexpired()
133 debug3("password will expire in %d days", daysleft); in auth_shadow_pwexpired()
135 "Your password will expire in %d day%s.\n", daysleft, in auth_shadow_pwexpired()
136 daysleft == 1 ? "" : "s"); in auth_shadow_pwexpired()