aboutsummaryrefslogtreecommitdiff
path: root/src/rc/shell_var.c
diff options
context:
space:
mode:
authorMatt Whitlock <gentoo@mattwhitlock.name>2021-08-16 23:21:33 -0400
committerMike Frysinger <vapier@gentoo.org>2021-12-21 01:48:04 -0500
commit8ffc4162e267cf55a8fe789792fc3568fd82ecd7 (patch)
tree1d5f72c2e85999222d536c72302a8f0eb9be49e6 /src/rc/shell_var.c
parent703bdbf88e60b98b1fcee8aa376932bbe75bae86 (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/shell_var.c')
-rw-r--r--src/rc/shell_var.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/shell_var.c b/src/rc/shell_var.c
index 218a2faf..70750245 100644
--- a/src/rc/shell_var.c
+++ b/src/rc/shell_var.c
@@ -31,7 +31,7 @@ int main(int argc, char **argv)
putchar(' ');
while (*p) {
c = (unsigned char)*p++;
- if (! isalnum(c))
+ if (!isalnum(c))
c = '_';
putchar(c);
}