summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio.c
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-05-26 19:49:26 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2020-05-27 18:54:25 +0200
commit2da3dc69e7e11e9d4fe03c1b33c6a99f74405a6c (patch)
tree9b843bb6b67a480f0430687fc4202cdc97447f53 /src/basic/fileio.c
parentfileio: Refactor sync_rights to take fds as arguments (diff)
downloadsystemd-2da3dc69e7e11e9d4fe03c1b33c6a99f74405a6c.tar.xz
systemd-2da3dc69e7e11e9d4fe03c1b33c6a99f74405a6c.zip
fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label.
Diffstat (limited to 'src/basic/fileio.c')
-rw-r--r--src/basic/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/fileio.c b/src/basic/fileio.c
index 6abe5417a6..f2f1e1139f 100644
--- a/src/basic/fileio.c
+++ b/src/basic/fileio.c
@@ -1197,7 +1197,7 @@ int sync_rights(int from, int to) {
return fchmod_and_chown(to, st.st_mode & 07777, st.st_uid, st.st_gid);
}
-int rename_and_apply_smack(const char *from, const char *to) {
+int rename_and_apply_smack_floor_label(const char *from, const char *to) {
int r = 0;
if (rename(from, to) < 0)
return -errno;