projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f848305
)
find: fix SELinux-related warning
author
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 16 Aug 2007 10:41:24 +0000
(10:41 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 16 Aug 2007 10:41:24 +0000
(10:41 -0000)
findutils/find.c
patch
|
blob
|
history
diff --git
a/findutils/find.c
b/findutils/find.c
index 60b2a75aab9bc7f9c44f4d58d80b5e84a51e1f42..86f787d3f1153428cd3aadb19ddea5215c1bf888 100644
(file)
--- 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