aboutsummaryrefslogtreecommitdiff
path: root/src/rc/rc-wtmp.c
diff options
context:
space:
mode:
authorphilhofer <phofer@umich.edu>2018-12-27 10:06:01 -0800
committerWilliam Hubbs <w.d.hubbs@gmail.com>2018-12-27 13:13:09 -0600
commit3e00fbc9b08dde9e2c7fc26ecb9e831417012dd1 (patch)
tree4bc5591969f665faf8a05251ec53e5e279643734 /src/rc/rc-wtmp.c
parent846e4600754dab3f0cb49edb4ad9e2b2b73d3f47 (diff)
fix leading whitespace
Clean up code indented with mixed tabs and spaces. No actual code changes. This fixes #280.
Diffstat (limited to 'src/rc/rc-wtmp.c')
-rw-r--r--src/rc/rc-wtmp.c4
1 files changed, 2 insertions, 2 deletions
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);