diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-16 10:41:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-16 10:41:24 +0000 |
commit | 838dacaa002c068928c73af379517f07cd01faf6 (patch) | |
tree | 4366b5feb0f2eb26c5e52f5a6c476059c2a36c33 | |
parent | f848305afc51836fd6e213610c8cbf37e038f433 (diff) | |
download | busybox-838dacaa002c068928c73af379517f07cd01faf6.tar.gz |
find: fix SELinux-related warning
-rw-r--r-- | findutils/find.c | 3 |
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) 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 |