summaryrefslogtreecommitdiffstats
path: root/src/shared/smack-util.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-02-22 15:47:54 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-02-22 20:48:02 +0100
commitb12525416b0d01a24245df24406672df5301131c (patch)
treeb643a3a49628846bc97b39a35f381c0ffde9354c /src/shared/smack-util.c
parentMerge pull request #26448 from poettering/sd-event-mempress (diff)
downloadsystemd-b12525416b0d01a24245df24406672df5301131c.tar.xz
systemd-b12525416b0d01a24245df24406672df5301131c.zip
smack-util: Fix compilation error when smack is disabled
Diffstat (limited to '')
-rw-r--r--src/shared/smack-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/smack-util.c b/src/shared/smack-util.c
index 60fd24c0ba..8c28dd91d7 100644
--- a/src/shared/smack-util.c
+++ b/src/shared/smack-util.c
@@ -253,7 +253,7 @@ int mac_smack_read_fd(int fd, SmackAttr attr, char **label) {
return -EOPNOTSUPP;
}
-int mac_smack_apply(const char *path, SmackAttr attr, const char *label) {
+int mac_smack_apply_at(int dir_fd, const char *path, SmackAttr attr, const char *label) {
return 0;
}