From 3e00fbc9b08dde9e2c7fc26ecb9e831417012dd1 Mon Sep 17 00:00:00 2001 From: philhofer Date: Thu, 27 Dec 2018 10:06:01 -0800 Subject: fix leading whitespace Clean up code indented with mixed tabs and spaces. No actual code changes. This fixes #280. --- src/rc/rc-wtmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rc/rc-wtmp.c') diff --git a/src/rc/rc-wtmp.c b/src/rc/rc-wtmp.c index 40cc280c..271ae7a6 100644 --- a/src/rc/rc-wtmp.c +++ b/src/rc/rc-wtmp.c @@ -43,8 +43,8 @@ void log_wtmp(const char *user, const char *id, pid_t pid, int type, strncpy(utmp.ut_id , id , sizeof(utmp.ut_id )); strncpy(utmp.ut_line, line, sizeof(utmp.ut_line)); - /* Put the OS version in place of the hostname */ - if (uname(&uname_buf) == 0) + /* Put the OS version in place of the hostname */ + if (uname(&uname_buf) == 0) strncpy(utmp.ut_host, uname_buf.release, sizeof(utmp.ut_host)); updwtmp(WTMP_FILE, &utmp); -- cgit v1.2.3