svn commit: trunk/busybox/findutils
vda at busybox.net
vda at busybox.net
Thu Aug 16 03:41:25 PDT 2007
Author: vda
Date: 2007-08-16 03:41:24 -0700 (Thu, 16 Aug 2007)
New Revision: 19528
Log:
find: fix SELinux-related warning
Modified:
trunk/busybox/findutils/find.c
Changeset:
Modified: trunk/busybox/findutils/find.c
===================================================================
--- trunk/busybox/findutils/find.c 2007-08-16 10:40:06 UTC (rev 19527)
+++ trunk/busybox/findutils/find.c 2007-08-16 10:41:24 UTC (rev 19528)
@@ -776,7 +776,8 @@
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
More information about the busybox-cvs
mailing list