aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-01 21:58:38 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-01 21:58:38 -0500
commitdc4b57c868662e76dc4363eca6ddd0d73284eb72 (patch)
treef7a615b112f49d7c3717144d3e183515350d1ecd /sway/main.c
parentAdd security checks for background, panel, lock (diff)
downloadsway-dc4b57c868662e76dc4363eca6ddd0d73284eb72.tar.gz
sway-dc4b57c868662e76dc4363eca6ddd0d73284eb72.tar.zst
sway-dc4b57c868662e76dc4363eca6ddd0d73284eb72.zip
Shut Clang up
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index 4704f900..a6721fba 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -145,7 +145,7 @@ static void log_kernel() {
145 145
146static void security_sanity_check() { 146static void security_sanity_check() {
147 // TODO: Notify users visually if this has issues 147 // TODO: Notify users visually if this has issues
148 struct stat s = {0}; 148 struct stat s;
149 if (stat("/proc", &s)) { 149 if (stat("/proc", &s)) {
150 sway_log(L_ERROR, 150 sway_log(L_ERROR,
151 "!! DANGER !! /proc is not available - sway CANNOT enforce security rules!"); 151 "!! DANGER !! /proc is not available - sway CANNOT enforce security rules!");