Message ID | 1449002327-32333-1-git-send-email-slawrence@tresys.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/libsepol/cil/src/cil_tree.c b/libsepol/cil/src/cil_tree.c index f641baa..8357a32 100644 --- a/libsepol/cil/src/cil_tree.c +++ b/libsepol/cil/src/cil_tree.c @@ -1302,9 +1302,7 @@ void cil_tree_print_node(struct cil_tree_node *node) cil_log(CIL_INFO, "FILECON:"); cil_log(CIL_INFO, " %s %d", filecon->path_str, filecon->type); - if (filecon->context_str != NULL) { - cil_log(CIL_INFO, " %s", filecon->context_str); - } else if (filecon->context != NULL) { + if (filecon->context != NULL) { cil_tree_print_context(filecon->context); } else if (filecon->context_str != NULL) { cil_log(CIL_INFO, " %s", filecon->context_str);