summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-17 20:05:05 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-17 20:05:05 -0500
commitbeeffeb80443eec762d685e44ed287dfd2b0ce03 (patch)
tree737036a900f2f3ed6e6441e4e94264c6d4e82895 /parse.c
parent3f7fab14c58167f648ba85396fda80c5addffb07 (diff)
downloadbfs-beeffeb80443eec762d685e44ed287dfd2b0ce03.tar.xz
Initialize expr.cmp for -user and -group.
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index f9d4522..3ee7359 100644
--- a/parse.c
+++ b/parse.c
@@ -457,6 +457,7 @@ static struct expr *parse_group(struct parser_state *state, const char *option)
goto error;
}
+ expr->cmp = CMP_EXACT;
return expr;
error:
@@ -495,6 +496,7 @@ static struct expr *parse_user(struct parser_state *state, const char *option) {
goto error;
}
+ expr->cmp = CMP_EXACT;
return expr;
error: