diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2017-12-15 06:05:16 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2017-12-15 06:05:16 +0000 |
commit | 4a5fb0541d35a9ac13f2aba28e7bb600c240bafc (patch) | |
tree | e84c97dbc79d3588b9eaa050a4012b0e995adbef /adduser | |
parent | 90ec288bde911fac62b4a16b52d3518518cce279 (diff) | |
download | pw-darwin-4a5fb0541d35a9ac13f2aba28e7bb600c240bafc.tar.gz pw-darwin-4a5fb0541d35a9ac13f2aba28e7bb600c240bafc.tar.zst pw-darwin-4a5fb0541d35a9ac13f2aba28e7bb600c240bafc.zip |
pw(8): r326738 broke expiration arithmetic in case of `-D' flag not supplied.
Fix it and rename misnamed time_t variables `expire_days, password_days'
(always holding absolute time) to `expire_time, password_time'.
Add a comment for a case of overloading `cmdcnf->password_days'
and `cmdcnf->expire_days' with absolute time.
Reported by: markj
Approved by: mav (mentor)
MFC after: 1 week
Diffstat (limited to 'adduser')
0 files changed, 0 insertions, 0 deletions