diff options
author | 2016-12-01 21:58:38 -0500 | |
---|---|---|
committer | 2016-12-01 21:58:38 -0500 | |
commit | dc4b57c868662e76dc4363eca6ddd0d73284eb72 (patch) | |
tree | f7a615b112f49d7c3717144d3e183515350d1ecd /sway | |
parent | Add security checks for background, panel, lock (diff) | |
download | sway-dc4b57c868662e76dc4363eca6ddd0d73284eb72.tar.gz sway-dc4b57c868662e76dc4363eca6ddd0d73284eb72.tar.zst sway-dc4b57c868662e76dc4363eca6ddd0d73284eb72.zip |
Shut Clang up
Diffstat (limited to 'sway')
-rw-r--r-- | sway/main.c | 2 |
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 | ||
146 | static void security_sanity_check() { | 146 | static 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!"); |