summaryrefslogtreecommitdiffstats
path: root/libc/gen/pw_scan.c
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2017-12-15 06:05:16 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2017-12-15 06:05:16 +0000
commitfbe028edacee6a9c34f5debe6de7a8bbf08d21ab (patch)
tree5f2cc5873f93d7787eed3edf622c6b29db01cc03 /libc/gen/pw_scan.c
parentec0a208a6ef7a6b67c2f2d3b23c848ed60922da6 (diff)
downloadpw-darwin-fbe028edacee6a9c34f5debe6de7a8bbf08d21ab.tar.gz
pw-darwin-fbe028edacee6a9c34f5debe6de7a8bbf08d21ab.tar.zst
pw-darwin-fbe028edacee6a9c34f5debe6de7a8bbf08d21ab.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 'libc/gen/pw_scan.c')
0 files changed, 0 insertions, 0 deletions