aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/slibc-human/machinemode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slibc-human/machinemode.c b/src/slibc-human/machinemode.c
index ec03fc5..0dceddf 100644
--- a/src/slibc-human/machinemode.c
+++ b/src/slibc-human/machinemode.c
@@ -92,7 +92,7 @@ static mode_t bits[][] = {
*/
static inline int partial_symbolic(mode_t* restrict mode, mode_t* restrict mask, const char* restrict str)
{
-#define TEST_(S, T, V) (strstarts(str, S) && !(T & (symbols = V)))
+#define TEST_(S, T, V) (strstarts(str, S) && !((T) & (symbols = (V))))
#define TEST(S, T) (TEST_(S"+", T, 1) || TEST_(S"-", T, 2) || TEST_(S"=", T, 3))
#define TESTV(T) (TEST(#T, T) ? (T |= symbols) : 0)