From 8e8ac2f93743ce239e5b12e335b621f207f0eefe Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 11 Nov 2014 23:25:24 +0000 Subject: [PATCH] syscall_other: Fix bracketing --- Kernel/syscall_other.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/syscall_other.c b/Kernel/syscall_other.c index 44133851..9d0f3b9b 100644 --- a/Kernel/syscall_other.c +++ b/Kernel/syscall_other.c @@ -204,7 +204,7 @@ int16_t _rmdir(void) } /* Parent must be writable */ - if (!getperm(parent) & OTH_WR) + if (!(getperm(parent) & OTH_WR)) goto nogood; /* Remove the directory entry */ -- 2.34.1