diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-16 00:26:04 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-16 00:26:04 +0100 |
commit | de820504b8b3b8322b6405a0bb993c26c85d8d6a (patch) | |
tree | 31c1f74a5405122a0b5e6b465797f9bcc5c69fdc /src | |
parent | m (diff) | |
download | slibc-de820504b8b3b8322b6405a0bb993c26c85d8d6a.tar.gz slibc-de820504b8b3b8322b6405a0bb993c26c85d8d6a.tar.bz2 slibc-de820504b8b3b8322b6405a0bb993c26c85d8d6a.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/slibc-human/machinemode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slibc-human/machinemode.c b/src/slibc-human/machinemode.c index dce7630..06029d3 100644 --- a/src/slibc-human/machinemode.c +++ b/src/slibc-human/machinemode.c @@ -48,7 +48,7 @@ int machinemode(mode_t* restrict mode, mode_t* restrict mask, const char* restri #define TEST(S, T) (TEST_(S"+", T, 1) || TEST_(S"-", T, 2) || TEST_(S"=", T, 3)) #define TESTV(T) (TEST(#T, T) ? (T = v) : 0) -#define BITS_(V, T, S) if (V & bits[i][T]) goto invalid; else var |= bits[i][S] +#define BITS_(V, T, S) if (V & bits[i][T]) goto invalid; else V |= bits[i][S] #define BITS(V) \ if (*str == 'r') { BITS_(V, 0, 0); } \ else if (*str == 'w') { BITS_(V, 1, 1); } \ |