@@ -653,7 +653,6 @@ int cil_copy_expandtypeattribute(__attribute__((unused)) struct cil_db *db, void
struct cil_expandtypeattribute *orig = data;
struct cil_expandtypeattribute *new = NULL;
- fprintf(stderr, "%s %u\n", __func__, __LINE__);
cil_expandtypeattribute_init(&new);
if (orig->attr_strs != NULL) {
@@ -710,7 +710,6 @@ void cil_tree_print_node(struct cil_tree_node *node)
case CIL_EXPANDTYPEATTRIBUTE: {
struct cil_expandtypeattribute *attr = node->data;
- fprintf(stderr, "%s %u\n", __func__, __LINE__);
cil_log(CIL_INFO, "(EXPANDTYPEATTRIBUTE ");
cil_tree_print_expr(attr->attr_datums, attr->attr_strs);
cil_log(CIL_INFO, "%s)\n",attr->expand ?
cil_copy_expandtypeattribute prints "cil_copy_expandtypeattribute 656" which is quite annoying. Remove the fprintf statement responsible for this. While at it, remove another one in cil_tree_print_node() Fixes: https://lore.kernel.org/selinux/3c2ab876-b0b7-42eb-573d-e5b450a7125a@gmail.com/T/#u Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> --- libsepol/cil/src/cil_copy_ast.c | 1 - libsepol/cil/src/cil_tree.c | 1 - 2 files changed, 2 deletions(-)