aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/fstree/selinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstree/selinux.c b/lib/fstree/selinux.c
index b7934ea..ceaac06 100644
--- a/lib/fstree/selinux.c
+++ b/lib/fstree/selinux.c
@@ -43,7 +43,7 @@ int fstree_relabel_selinux(fstree_t *fs, const char *filename)
{ SELABEL_OPT_PATH, filename },
};
size_t i;
- int ret;
+ int ret = 0;
sehnd = selabel_open(SELABEL_CTX_FILE, seopts, 1);