aboutsummaryrefslogtreecommitdiff
path: root/src/rc/kill_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/kill_all.c')
-rw-r--r--src/rc/kill_all.c4
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);