summaryrefslogtreecommitdiff
path: root/selinux/setfiles.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-09-29 23:55:30 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-09-29 23:55:30 +0000
commit43f0a0bb3a178794ac9fa3f5010db680c5d1b018 (patch)
tree7f3c2fae714d8260c100fbad6627c7ae4e8c43fe /selinux/setfiles.c
parente755e827f7c8ecb21787a4369d7afdeda54d112b (diff)
downloadbusybox-w32-1_7_2.tar.gz
busybox-w32-1_7_2.tar.bz2
busybox-w32-1_7_2.zip
apply all post-1.7.1 patches, set version to 1.7.21_7_2
Diffstat (limited to '')
-rw-r--r--selinux/setfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 174d4ce60..c3775cd90 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -189,7 +189,7 @@ static int match(const char *name, struct stat *sb, char **con)
189 file_sep = strrchr(tmp_path, '/'); 189 file_sep = strrchr(tmp_path, '/');
190 if (file_sep == tmp_path) { 190 if (file_sep == tmp_path) {
191 file_sep++; 191 file_sep++;
192 p[0] = '\0'; 192 path[0] = '\0';
193 p = path; 193 p = path;
194 } else if (file_sep) { 194 } else if (file_sep) {
195 *file_sep++ = '\0'; 195 *file_sep++ = '\0';