From 8fee869e9ad8530f79f51eabec9eac87cb982196 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 29 Jan 2024 15:20:22 +0100 Subject: [PATCH] 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 --- src/passwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),