Since log_err() has been removed, use ERR() instead of log_err() in module_to_cil.c. Signed-off-by: James Carter <jwcart2@xxxxxxxxx> --- libsepol/src/module_to_cil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsepol/src/module_to_cil.c b/libsepol/src/module_to_cil.c index 3e168285..d2868019 100644 --- a/libsepol/src/module_to_cil.c +++ b/libsepol/src/module_to_cil.c @@ -1191,10 +1191,10 @@ static int avrule_list_to_cil(int indent, struct policydb *pdb, struct avrule *a if (avrule->flags & RULE_NOTSELF) { if (!ebitmap_is_empty(&avrule->ttypes.types) || !ebitmap_is_empty(&avrule->ttypes.negset)) { if (avrule->source_filename) { - log_err("%s:%lu: Non-trivial neverallow rules with targets containing not or minus self not yet supported", + ERR(NULL, "%s:%lu: Non-trivial neverallow rules with targets containing not or minus self not yet supported", avrule->source_filename, avrule->source_line); } else { - log_err("Non-trivial neverallow rules with targets containing not or minus self not yet supported"); + ERR(NULL, "Non-trivial neverallow rules with targets containing not or minus self not yet supported"); } rc = -1; goto exit; -- 2.41.0