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/mountinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rc/mountinfo.c') diff --git a/src/rc/mountinfo.c b/src/rc/mountinfo.c index 8cb2945f..6652760d 100644 --- a/src/rc/mountinfo.c +++ b/src/rc/mountinfo.c @@ -161,7 +161,7 @@ process_mount(RC_STRINGLIST *list, struct args *args, TAILQ_FOREACH(s, args->mounts, entries) if (strcmp(s->value, to) == 0) break; - if (! s) + if (!s) return -1; } @@ -260,7 +260,7 @@ find_mounts(struct args *args) if (flags & o->o_opt) { if (o->o_opt == MNT_LOCAL) netdev = 1; - if (! options) + if (!options) options = xstrdup(o->o_name); else { xasprintf(&tmp, "%s,%s", options, o->o_name); @@ -475,7 +475,7 @@ int main(int argc, char **argv) if (skip_point_regex && regexec(skip_point_regex, s->value, 0, NULL, 0) == 0) continue; - if (! rc_yesno(getenv("EINFO_QUIET"))) + if (!rc_yesno(getenv("EINFO_QUIET"))) printf("%s\n", s->value); result = EXIT_SUCCESS; } -- cgit v1.2.3