From: Karel Zak Date: Tue, 31 Mar 2020 11:12:11 +0000 (+0200) Subject: lslogins: remove unnecessary brackets X-Git-Tag: v2.36-rc1~159 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd52e392acc6d5114d76e121c54e55675d43b6bf;p=thirdparty%2Futil-linux.git lslogins: remove unnecessary brackets Just to be consistent with the rest of the code. Signed-off-by: Karel Zak --- 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);