summaryrefslogtreecommitdiffstats
path: root/usr.bin/csup
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-10-22 02:59:44 +0000
committereadler <eadler@FreeBSD.org>2012-10-22 02:59:44 +0000
commite8bf719fc6d6c325b3d057745f57f22438a4d17e (patch)
tree640bcb9ce2a0b1f0f23477d088852054684c54b7 /usr.bin/csup
parent4519224f47314ebe3417fd25deb62f91da028170 (diff)
downloadFreeBSD-src-e8bf719fc6d6c325b3d057745f57f22438a4d17e.zip
FreeBSD-src-e8bf719fc6d6c325b3d057745f57f22438a4d17e.tar.gz
Fix conditional expression: previously a bitvector would be operated
on by a logical not. Approved by: cperciva MFC after: 3 days
Diffstat (limited to 'usr.bin/csup')
-rw-r--r--usr.bin/csup/lister.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/csup/lister.c b/usr.bin/csup/lister.c
index b10dbd3..104963a 100644
--- a/usr.bin/csup/lister.c
+++ b/usr.bin/csup/lister.c
@@ -530,7 +530,7 @@ lister_dorcsdead(struct lister *l, struct coll *coll, struct statusrec *sr)
return (0);
config = l->config;
wr = l->wr;
- if (!coll->co_options & CO_TRUSTSTATUSFILE) {
+ if (!(coll->co_options & CO_TRUSTSTATUSFILE)) {
path = cvspath(coll->co_prefix, sr->sr_file, 1);
if (path == NULL) {
spath = coll_statuspath(coll);
OpenPOWER on IntegriCloud