mirror of
https://github.com/sheumann/hush.git
synced 2024-12-26 10:32:02 +00:00
find: fix SELinux-related warning
This commit is contained in:
parent
f848305afc
commit
838dacaa00
@ -776,7 +776,8 @@ static action*** parse_params(char **argv)
|
||||
action_context *ap;
|
||||
ap = ALLOC_ACTION(context);
|
||||
ap->context = NULL;
|
||||
if (selinux_raw_to_trans_context(arg1, &ap->context))
|
||||
/* SELinux headers erroneously declare non-const parameter */
|
||||
if (selinux_raw_to_trans_context((char*)arg1, &ap->context))
|
||||
bb_perror_msg("%s", arg1);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user