mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
Shut Clang up
This commit is contained in:
parent
21e1b2bef3
commit
dc4b57c868
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ static void log_kernel() {
|
||||||
|
|
||||||
static void security_sanity_check() {
|
static void security_sanity_check() {
|
||||||
// TODO: Notify users visually if this has issues
|
// TODO: Notify users visually if this has issues
|
||||||
struct stat s = {0};
|
struct stat s;
|
||||||
if (stat("/proc", &s)) {
|
if (stat("/proc", &s)) {
|
||||||
sway_log(L_ERROR,
|
sway_log(L_ERROR,
|
||||||
"!! DANGER !! /proc is not available - sway CANNOT enforce security rules!");
|
"!! DANGER !! /proc is not available - sway CANNOT enforce security rules!");
|
||||||
|
|
Loading…
Reference in a new issue