From 8ffc4162e267cf55a8fe789792fc3568fd82ecd7 Mon Sep 17 00:00:00 2001 From: Matt Whitlock Date: Mon, 16 Aug 2021 23:21:33 -0400 Subject: code style: remove space after unary "not" operator There are no semantic changes in this commit. Suggested-by: Mike Frysinger See: https://github.com/OpenRC/openrc/pull/435#pullrequestreview-727035394 --- src/rc/kill_all.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rc/kill_all.c') 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); -- cgit v1.2.3