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/mountinfo.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/mountinfo.c')
-rw-r--r-- | src/rc/mountinfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |