summaryrefslogtreecommitdiff
path: root/src/core/smack-setup.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-04-01 22:37:21 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-04-01 22:48:42 +0900
commit798931160ee2b1ceadd4202abf881157bbaadead (patch)
tree6a9051bcc6590d12dedc006b400575c79b6bcdf4 /src/core/smack-setup.c
parent72dce85a60d4fda2719b2e759f4d339c16cc3910 (diff)
downloadsystemd-798931160ee2b1ceadd4202abf881157bbaadead.tar.gz
tree-wide: add a space after if, switch, for, and while
Diffstat (limited to 'src/core/smack-setup.c')
-rw-r--r--src/core/smack-setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/smack-setup.c b/src/core/smack-setup.c
index f88cb80834..b76bb74465 100644
--- a/src/core/smack-setup.c
+++ b/src/core/smack-setup.c
@@ -304,7 +304,7 @@ int mac_smack_setup(bool *loaded_policy) {
assert(loaded_policy);
r = write_access2_rules("/etc/smack/accesses.d/");
- switch(r) {
+ switch (r) {
case -ENOENT:
log_debug("Smack is not enabled in the kernel.");
return 0;
@@ -336,7 +336,7 @@ int mac_smack_setup(bool *loaded_policy) {
#endif
r = write_cipso2_rules("/etc/smack/cipso.d/");
- switch(r) {
+ switch (r) {
case -ENOENT:
log_debug("Smack/CIPSO is not enabled in the kernel.");
return 0;
@@ -352,7 +352,7 @@ int mac_smack_setup(bool *loaded_policy) {
}
r = write_netlabel_rules("/etc/smack/netlabel.d/");
- switch(r) {
+ switch (r) {
case -ENOENT:
log_debug("Smack/CIPSO is not enabled in the kernel.");
return 0;
@@ -368,7 +368,7 @@ int mac_smack_setup(bool *loaded_policy) {
}
r = write_onlycap_list();
- switch(r) {
+ switch (r) {
case -ENOENT:
log_debug("Smack is not enabled in the kernel.");
break;