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@xxxxxxxxx/T/#u Signed-off-by: Nicolas Iooss <nicolas.iooss@xxxxxxx> --- libsepol/cil/src/cil_copy_ast.c | 1 - libsepol/cil/src/cil_tree.c | 1 - 2 files changed, 2 deletions(-) diff --git a/libsepol/cil/src/cil_copy_ast.c b/libsepol/cil/src/cil_copy_ast.c index 67dd8528f526..c9aada9db348 100644 --- a/libsepol/cil/src/cil_copy_ast.c +++ b/libsepol/cil/src/cil_copy_ast.c @@ -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) { diff --git a/libsepol/cil/src/cil_tree.c b/libsepol/cil/src/cil_tree.c index 3ab5e868d15e..886412d1b974 100644 --- a/libsepol/cil/src/cil_tree.c +++ b/libsepol/cil/src/cil_tree.c @@ -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 ? -- 2.29.2