From cd52e392acc6d5114d76e121c54e55675d43b6bf Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 31 Mar 2020 13:12:11 +0200 Subject: [PATCH] lslogins: remove unnecessary brackets Just to be consistent with the rest of the code. Signed-off-by: Karel Zak --- login-utils/lslogins.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/login-utils/lslogins.c b/login-utils/lslogins.c index c687e58e89..6fd0f96740 100644 --- a/login-utils/lslogins.c +++ b/login-utils/lslogins.c @@ -784,9 +784,8 @@ static struct lslogins_user *get_user_info(struct lslogins_control *ctl, const c mem2strcpy(user->last_tty, user_wtmp->ut_line, sizeof(user_wtmp->ut_line), sizeof(user_wtmp->ut_line) + 1);; - } else { + } else get_lastlog(ctl, user->uid, user->last_tty, LASTLOG_LINE); - } break; case COL_LAST_HOSTNAME: user->last_hostname = xcalloc(1, sizeof(user_wtmp->ut_host) + 1); -- 2.47.3