diff options
author | Austin English <austinenglish@gmail.com> | 2018-10-12 17:16:23 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2018-10-13 12:53:54 -0400 |
commit | 02af093043a7444381b0d8a0a3e8e97247505f95 (patch) | |
tree | 9c115ea04a3a40c71cc8bf3b8c3f0bafb41533fd /src/rc | |
parent | 67e2d6033dd7ac6db0269ee060ed20484825ff9f (diff) |
misc: whitespace fixes
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/kill_all.c | 2 | ||||
-rw-r--r-- | src/rc/rc-wtmp.c | 2 | ||||
-rw-r--r-- | src/rc/supervise-daemon.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/kill_all.c b/src/rc/kill_all.c index 3aeaa262..0833e5f8 100644 --- a/src/rc/kill_all.c +++ b/src/rc/kill_all.c @@ -248,7 +248,7 @@ int main(int argc, char **argv) usage(EXIT_FAILURE); } } - + openlog(applet, LOG_CONS|LOG_PID, LOG_DAEMON); if (mount_proc() != 0) { rc_stringlist_free(omits); diff --git a/src/rc/rc-wtmp.c b/src/rc/rc-wtmp.c index 8d494303..40cc280c 100644 --- a/src/rc/rc-wtmp.c +++ b/src/rc/rc-wtmp.c @@ -42,7 +42,7 @@ void log_wtmp(const char *user, const char *id, pid_t pid, int type, strncpy(utmp.ut_name, user, sizeof(utmp.ut_name)); 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) strncpy(utmp.ut_host, uname_buf.release, sizeof(utmp.ut_host)); diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index 24cc56fa..4e3d22c4 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -835,7 +835,7 @@ int main(int argc, char **argv) if (respawn_delay * respawn_max > respawn_period) ewarn("%s: Please increase the value of --respawn-period to more " - "than %d to avoid infinite respawning", applet, + "than %d to avoid infinite respawning", applet, respawn_delay * respawn_max); if (retry) { |