http://git.etherboot.org
/
people
/
mcb30
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cd147c
)
find: fix SELinux-related warning
author
vda
<vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 16 Aug 2007 10:41:24 +0000
(10:41 +0000)
committer
vda
<vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Thu, 16 Aug 2007 10:41:24 +0000
(10:41 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@19528
69ca8d6d
-28ef-0310-b511-
8ec308f3f277
findutils/find.c
patch
|
blob
|
history
diff --git
a/findutils/find.c
b/findutils/find.c
index
60b2a75
..
86f787d
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