diff options
author | Matt Whitlock <gentoo@mattwhitlock.name> | 2021-08-16 23:21:33 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-12-21 01:48:04 -0500 |
commit | 8ffc4162e267cf55a8fe789792fc3568fd82ecd7 (patch) | |
tree | 1d5f72c2e85999222d536c72302a8f0eb9be49e6 /src/rc/kill_all.c | |
parent | 703bdbf88e60b98b1fcee8aa376932bbe75bae86 (diff) |
code style: remove space after unary "not" operator
There are no semantic changes in this commit.
Suggested-by: Mike Frysinger <vapier@gentoo.org>
See: https://github.com/OpenRC/openrc/pull/435#pullrequestreview-727035394
Diffstat (limited to 'src/rc/kill_all.c')
-rw-r--r-- | src/rc/kill_all.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc/kill_all.c b/src/rc/kill_all.c index d80df19e..551572b7 100644 --- a/src/rc/kill_all.c +++ b/src/rc/kill_all.c @@ -78,7 +78,7 @@ static int mount_proc(void) syslog(LOG_ERR, "mount returned non-zero exit status"); break; } - if (! exists("/proc/version")) { + if (!exists("/proc/version")) { syslog(LOG_ERR, "Could not mount /proc"); return -1; } @@ -113,7 +113,7 @@ static bool is_user_process(pid_t pid) continue; } temp_pid = -1; - while (! feof(fp)) { + while (!feof(fp)) { buf = NULL; if (getline(&buf, &size, fp) != -1) { sscanf(buf, "PPid: %d", &temp_pid); |