aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--findutils/find.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 60b2a75aa..86f787d3f 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -776,7 +776,8 @@ static action*** parse_params(char **argv)
776 action_context *ap; 776 action_context *ap;
777 ap = ALLOC_ACTION(context); 777 ap = ALLOC_ACTION(context);
778 ap->context = NULL; 778 ap->context = NULL;
779 if (selinux_raw_to_trans_context(arg1, &ap->context)) 779 /* SELinux headers erroneously declare non-const parameter */
780 if (selinux_raw_to_trans_context((char*)arg1, &ap->context))
780 bb_perror_msg("%s", arg1); 781 bb_perror_msg("%s", arg1);
781 } 782 }
782#endif 783#endif