diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-01-29 15:20:22 +0100 |
---|---|---|
committer | Serge Hallyn <serge@hallyn.com> | 2024-03-14 16:30:46 -0500 |
commit | 8fee869e9ad8530f79f51eabec9eac87cb982196 (patch) | |
tree | 923cf279a9e9370866a052036a20712be3037a27 | |
parent | 82e28ad534dab41697a384c2e7cf563e8a2a0eb1 (diff) |
src/passwd.c: print_status(): Fix typo (bogus use of the comma operator)
Amazing that this triggered no warnings at all.
Fixes: 355ad6a9e089 ("Have a single definition of date_to_str()")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | src/passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passwd.c b/src/passwd.c index ed92bc7c..d90bc659 100644 --- a/src/passwd.c +++ b/src/passwd.c @@ -453,7 +453,7 @@ static void print_status (const struct passwd *pw) sp = prefix_getspnam (pw->pw_name); /* local, no need for xprefix_getspnam */ if (NULL != sp) { - DAY_TO_STR(date, sp->sp_lstchg), + DAY_TO_STR(date, sp->sp_lstchg); (void) printf ("%s %s %s %ld %ld %ld %ld\n", pw->pw_name, pw_status (sp->sp_pwdp), |