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")) != 0) in auth_shadow_acctexpired()
93 int r, daysleft, disabled = 0; in auth_shadow_pwexpired() local
120 daysleft = spw->sp_lstchg + spw->sp_max - today; in auth_shadow_pwexpired()
128 } else if (daysleft < 0) { in auth_shadow_pwexpired()
131 } else if (daysleft <= spw->sp_warn) { in auth_shadow_pwexpired()
132 debug3("password will expire in %d days", daysleft); in auth_shadow_pwexpired()
134 "Your password will expire in %d day%s.\n", daysleft, in auth_shadow_pwexpired()
135 daysleft == 1 ? "" : "s")) != 0) in auth_shadow_pwexpired()