summaryrefslogtreecommitdiff
path: root/selinux/setfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/setfiles.c')
-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';