aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'selinux')
-rw-r--r--selinux/setfiles.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index dcc8cbb5f..08b911a03 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -264,15 +264,15 @@ static bool only_changed_user(const char *a, const char *b)
264 264
265static int restore(const char *file) 265static int restore(const char *file)
266{ 266{
267 char *my_file; 267 char *my_file;
268 struct stat my_sb; 268 struct stat my_sb;
269 int i, j, ret; 269 int i, j, ret;
270 char *context = NULL; 270 char *context = NULL;
271 char *newcon = NULL; 271 char *newcon = NULL;
272 bool user_only_changed = 0; 272 bool user_only_changed = 0;
273 int retval = 0; 273 int retval = 0;
274 274
275 my_file = bb_simplify_path(file); 275 my_file = bb_simplify_path(file);
276 276
277 i = match(my_file, &my_sb, &newcon); 277 i = match(my_file, &my_sb, &newcon);
278 278