diff options
-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!"); |