svn commit: trunk/busybox/selinux

vda at busybox.net vda at busybox.net
Fri Sep 28 11:37:39 UTC 2007


Author: vda
Date: 2007-09-28 04:37:38 -0700 (Fri, 28 Sep 2007)
New Revision: 20082

Log:
trivial fix in setfiles. spotted by Yuichi Nakamura <ynakam at hitachisoft.jp>



Modified:
   trunk/busybox/selinux/setfiles.c


Changeset:
Modified: trunk/busybox/selinux/setfiles.c
===================================================================
--- trunk/busybox/selinux/setfiles.c	2007-09-28 11:21:47 UTC (rev 20081)
+++ trunk/busybox/selinux/setfiles.c	2007-09-28 11:37:38 UTC (rev 20082)
@@ -189,7 +189,7 @@
 			file_sep = strrchr(tmp_path, '/');
 			if (file_sep == tmp_path) {
 				file_sep++;
-				p[0] = '\0';
+				path[0] = '\0';
 				p = path;
 			} else if (file_sep) {
 				*file_sep++ = '\0';




More information about the busybox-cvs mailing list