From ad3ca222ab5142769d1c56029360955490f05202 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 1 Oct 2019 13:34:26 -0700 Subject: Update signature of selinux_relable_node This signature was forgotten in commit d758950ac88c (Replace fstree/sqfshelper xattr code with sqfs_xattr_writer_t) causing the build to fail without SELinux enabled. Signed-off-by: Matt Turner --- mkfs/selinux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mkfs/selinux.c') diff --git a/mkfs/selinux.c b/mkfs/selinux.c index d5de9a8..f2c8fee 100644 --- a/mkfs/selinux.c +++ b/mkfs/selinux.c @@ -54,10 +54,10 @@ void selinux_close_context_file(void *sehnd) selabel_close(sehnd); } #else -int selinux_relable_node(void *sehnd, fstree_t *fs, +int selinux_relable_node(void *sehnd, sqfs_xattr_writer_t *xwr, tree_node_t *node, const char *path) { - (void)sehnd; (void)fs; (void)node; (void)path; + (void)sehnd; (void)xwr; (void)node; (void)path; fputs("Built without SELinux support, cannot add SELinux labels\n", stderr); return -1; -- cgit v1.2.3