mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
find: fix SELinux-related warning
This commit is contained in:
parent
f848305afc
commit
838dacaa00
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue