summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmts.c b/lib/rpmts.c
index a34edf9a0..b5053713c 100644
--- a/lib/rpmts.c
+++ b/lib/rpmts.c
@@ -760,7 +760,7 @@ rpmRC rpmtsSELabelInit(rpmts ts, int open_status)
}
struct selinux_opt opts[] = {
- {SELABEL_OPT_PATH, path}
+ { .type = SELABEL_OPT_PATH, .value = path}
};
if (ts->selabelHandle) {