summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-06-12 08:33:29 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-06-12 08:33:29 +0300
commita86291ff774ff10277da4452fc47fc9870ccc991 (patch)
tree92d3c4bcf4db5bbeaf4dc8b825af9505acad2fe9
parent17d66c47b181d9300dfc3813e8dd86d31c7b99a6 (diff)
downloadlibrpm-tizen-a86291ff774ff10277da4452fc47fc9870ccc991.tar.gz
librpm-tizen-a86291ff774ff10277da4452fc47fc9870ccc991.tar.bz2
librpm-tizen-a86291ff774ff10277da4452fc47fc9870ccc991.zip
Add parentheses (as kindly suggested by new gcc...)
-rw-r--r--lib/fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index 752f0cca9..6f32c4186 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -1238,7 +1238,7 @@ static int fsmMkdirs(FSM_t fsm)
if (!rc) {
/* XXX FIXME? only new dir will have context set. */
/* Get file security context from patterns. */
- if (! rpmtsFlags(ts) & RPMTRANS_FLAG_NOCONTEXTS) {
+ if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_NOCONTEXTS)) {
if (matchpathcon(fsm->path, st->st_mode, &scon) == 0 &&
scon != NULL) {
fsm->fcontext = scon;