capability: missed one

This commit is contained in:
William Pitcock 2012-02-04 01:58:07 -06:00
parent 5058c8ebce
commit 0582290f21

View file

@ -156,7 +156,7 @@ capability_index_mask(struct CapabilityIndex *index)
DICTIONARY_FOREACH(entry, &iter, index->cap_dict)
{
if (!entry->orphaned)
if (!(entry->flags & CAP_ORPHANED))
mask |= entry->value;
}