aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2019-10-01 13:34:26 -0700
committerDavid Oberhollenzer <goliath@infraroot.at>2019-10-05 10:45:56 +0200
commitad3ca222ab5142769d1c56029360955490f05202 (patch)
treef319b1d0ab993c1e311b740b71f221101f5a3cbd
parentbb101f22578def747b1e86fbfe9d2435c5e0c810 (diff)
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 <mattst88@gmail.com>
-rw-r--r--mkfs/selinux.c4
1 files changed, 2 insertions, 2 deletions
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;