aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-22 11:54:16 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2016-01-22 12:07:13 -0600
commite277ae57efaba3be3eb619fd00084b116c370231 (patch)
treee4e1a3ed9f8b4558d0dc9b43a342885c67bd1ffd /src/rc
parent69f052b611878d771fc3f56ee77639269db9b6e1 (diff)
fix tests
X-Gentoo-Bug: 572602 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=572602
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/rc-selinux.h6
-rw-r--r--src/rc/rc.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rc/rc-selinux.h b/src/rc/rc-selinux.h
index 6bc1accb..c3258d99 100644
--- a/src/rc/rc-selinux.h
+++ b/src/rc/rc-selinux.h
@@ -25,10 +25,10 @@ void selinux_setup(char **argv);
/* always return false for selinux_util_open() */
#define selinux_util_open() (0)
-#define selinux_util_label(x) do { } while(0)
-#define selinux_util_close() do { } while(0)
+#define selinux_util_label(x) do { } while (0)
+#define selinux_util_close() do { } while (0)
-#define selinux_setup(x) do { } while(0)
+#define selinux_setup(x) do { } while (0)
#endif
diff --git a/src/rc/rc.c b/src/rc/rc.c
index 7836341e..4efa0cf9 100644
--- a/src/rc/rc.c
+++ b/src/rc/rc.c
@@ -282,7 +282,7 @@ open_shell(void)
#ifdef __linux__
const char *sys = rc_sys();
-
+
/* VSERVER systems cannot really drop to shells */
if (sys && strcmp(sys, RC_SYS_VSERVER) == 0)
{