diff options
author | Austin English <austinenglish@gmail.com> | 2018-10-12 17:16:33 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2018-10-13 12:53:54 -0400 |
commit | 07908be0903229a69b9e0f733ed13eeff0b55a44 (patch) | |
tree | 5d0f9a65255a8f57b70036d9413360ff8eab104c /src | |
parent | 02af093043a7444381b0d8a0a3e8e97247505f95 (diff) |
misc: style fixups
Diffstat (limited to 'src')
-rw-r--r-- | src/rc/kill_all.c | 2 | ||||
-rw-r--r-- | src/rc/openrc-init.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rc/kill_all.c b/src/rc/kill_all.c index 0833e5f8..bc079dea 100644 --- a/src/rc/kill_all.c +++ b/src/rc/kill_all.c @@ -58,7 +58,7 @@ static int mount_proc(void) if (exists("/proc/version")) return 0; pid = fork(); - switch(pid) { + switch (pid) { case -1: syslog(LOG_ERR, "Unable to fork"); return -1; diff --git a/src/rc/openrc-init.c b/src/rc/openrc-init.c index e02fa5ee..e557c63d 100644 --- a/src/rc/openrc-init.c +++ b/src/rc/openrc-init.c @@ -45,7 +45,7 @@ static pid_t do_openrc(const char *runlevel) sigset_t signals; pid = fork(); - switch(pid) { + switch (pid) { case -1: perror("fork"); break; @@ -139,7 +139,7 @@ static void reap_zombies(void) static void signal_handler(int sig) { - switch(sig) { + switch (sig) { case SIGINT: handle_shutdown("reboot", RB_AUTOBOOT); break; |