mirror of
https://github.com/SELinuxProject/selinux
synced 2025-02-23 21:16:54 +00:00
libsepol/cil: remove stray printf
printf("%i\n", node->flavor); looks very much like a statement which was added for debugging purpose and was unintentionally left. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
ba5fb7a41b
commit
fba672edfb
@ -1088,7 +1088,6 @@ int cil_resolve_roletransition(struct cil_tree_node *current, void *extra_args)
|
||||
node = NODE(result_datum);
|
||||
if (node->flavor != CIL_ROLE) {
|
||||
rc = SEPOL_ERR;
|
||||
printf("%i\n", node->flavor);
|
||||
cil_log(CIL_ERR, "roletransition must result in a role, but %s is a %s\n", roletrans->result_str, cil_node_to_string(node));
|
||||
goto exit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user